public function testForbidden() { $builder = new Http\ResponseBuilder(); $response = $builder->forbidden()->build(); $this->assertEquals($response->getStatus()->getCode(), 403); $this->assertFalse($response->hasBody()); }