tests/Http/ResponsesTest.php
/**
     * Test code response has no content-type header.
     */
Test code response has no content-type header.
Test code response has no content - type header .
public function testCodeResponseHasNoContentTypeHeader(): void
    {
        $expectedHeaders = [];
        $this->willBeCalledCreateResponse(null, 123, $expectedHeaders, 'some response');
        self::assertEquals('some response', $this->responses->getCodeResponse(123));
    }
public function testCodeResponseHasNoContentTypeHeader ( ) : void { $ expectedHeaders = [ ] ; $ this -> willBeCalledCreateResponse ( null , 123 , $ expectedHeaders , 'some response' ) ; self :: assertEquals ( 'some response' , $ this -> responses -> getCodeResponse ( 123 ) ) ; }
Test code response has no content-type header.
Test code response has no content - type header .