/** * @test */ public function shouldReturnDefaultResponseWhenNotFoundCode() { //given $code = 999; //when $response = ResponseMapper::getMessage($code); //then $this->assertEquals('500 Internal Server Error', $response); }