getItems(); $this->assertCount(1, $members); $member = $members[0]; $this->assertInstanceOf(Member::class, $member); $this->assertEquals('Foo Bar', $member->getName()); } }