public function testCanAuthenticateNow() { $this->initializeManager(); list($provider, $reset) = $this->getMockSessionProvider(false); $this->assertFalse($this->manager->canAuthenticateNow()); \ScopedCallback::consume($reset); list($provider, $reset) = $this->getMockSessionProvider(true); $this->assertTrue($this->manager->canAuthenticateNow()); \ScopedCallback::consume($reset); }