/** * @test */ public function getMemberGroupsPrefersExplicitlySetInformation() { $GLOBALS['TSFE']->gr_list = '3,5'; $this->subject->setMemberGroups([1, 2]); $this->assertSame([1, 2], $this->subject->getMemberGroups()); }