source = $this->createSource(); $this->sourceMemberManager = new SourceMemberManager($this->source); } public function testSourceMemberInformationIntegration(): void { $childSource = $this->createSource(); $sourceMemberInformation = new SourceMemberInformation($this->source); $this->sourceMemberManager->addMember($childSource); $this->assertEquals($childSource, $sourceMemberInformation->getAllMembers()->get(0)); $this->sourceMemberManager->removeMember($childSource); $this->assertEquals(0, $sourceMemberInformation->getAllMembers()->count()); } }