예제 #1
0
 /**
  * Because we default to ignore we must set it to write so we can show
  * ignoreServerMode will infact set it to ignore
  *
  * @depends testEnableWrite
  * @return  null
  */
 public function testIgnoreServerMode()
 {
     $this->request->enableWrite();
     $this->assertSame($this->request, $this->request->ignoreServerMode(), 'exposes fluent interface');
     $this->assertEquals('ignore', $this->request->getServerMode());
 }