/** * @test */ public function logoutFrontEndUserCanBeCalledTwoTimes() { $this->subject->createFrontEndPage(); $this->subject->createFakeFrontEnd(); $this->subject->logoutFrontEndUser(); $this->subject->logoutFrontEndUser(); }
/** * @test */ public function getLoggedInUserWithoutLoggedInUserReturnsNull() { $this->testingFramework->createFakeFrontEnd(); $this->testingFramework->logoutFrontEndUser(); self::assertNull($this->subject->getLoggedInUser()); }