public function testCloseSessionOnExit() { $this->assertTrue($this->redirector->getCloseSessionOnExit()); $this->redirector->setCloseSessionOnExit(false); $this->assertFalse($this->redirector->getCloseSessionOnExit()); }