public function isAuthenticated()
{
return $this->authenticated;
}
/** * @test */ public function setAuthenticated_wasNotAuthenticated_becomeAuthenticated() { $this->authContext->setAuthenticated(true); $returnValue = $this->authContext->isAuthenticated(); $this->assertTrue($returnValue); }