Example #1
0
 public function testNotFound()
 {
     $builder = new Ergo_Http_ResponseBuilder();
     $response = $builder->notFound()->build();
     $this->assertEqual($response->getStatus()->getCode(), 404);
     $this->assertFalse($response->hasBody());
 }