コード例 #1
0
 /**
  * @test
  */
 public function logoutFrontEndUserCanBeCalledTwoTimes()
 {
     $this->subject->createFrontEndPage();
     $this->subject->createFakeFrontEnd();
     $this->subject->logoutFrontEndUser();
     $this->subject->logoutFrontEndUser();
 }
コード例 #2
0
 /**
  * @test
  */
 public function getLoggedInUserWithoutLoggedInUserReturnsNull()
 {
     $this->testingFramework->createFakeFrontEnd();
     $this->testingFramework->logoutFrontEndUser();
     self::assertNull($this->subject->getLoggedInUser());
 }