Response
classe Response (Voir la source)
Méthodes
Check if the content is json format
Check if the content is json format and the parsed data is some to the content
Check if the content is some of parse data
Check if the header exists
Check if the content is array format
Check the content type
Check if the content type is application/json
Check if the content type is text/plain
Check if the content type is text/html
Check if the content type is text/xml
Check the status code
Pas de description
Pas de description
Check if the content contains the parsed text
Get the response content
__call
Détails
        
                            
    __construct(Parser $parser)
        
    
    Behovior constructor.
        
                            Response
    assertJson(string $message = '')
        
    
    Check if the content is json format
        
                            Response
    assertExactJson(array $data, string $message = '')
        
    
    Check if the content is json format and the parsed data is some to the content
        
                            Response
    assertContainsExactText(string $data, string $message = '')
        
    
    Check if the content is some of parse data
        
                            Response
    assertHeader(string $header, string $message = '')
        
    
    Check if the header exists
        
                            Response
    assertArray(string $message = '')
        
    
    Check if the content is array format
        
                            Response
    assertContentType(string $content_type, string $message = '')
        
    
    Check the content type
        
                            Response
    assertContentTypeJson(string $message = '')
        
    
    Check if the content type is application/json
        
                            Response
    assertContentTypeText(string $message = '')
        
    
    Check if the content type is text/plain
        
                            Response
    assertContentTypeHtml(string $message = '')
        
    
    Check if the content type is text/html
        
                            Response
    assertContentTypeXml(string $message = '')
        
    
    Check if the content type is text/xml
        
                            Response
    assertStatus(int $code, string $message = '')
        
    
    Check the status code
        
                            Response
    assertKeyExists(string $key, string $message = '')
        
    
    Pas de description
        
                            Response
    assertKeyMatchValue(string|int $key, mixed $value, string $message = '')
        
    
    Pas de description
        
                            Response
    assertContains(string $text)
        
    
    Check if the content contains the parsed text
        
                            string
    getContent()
        
    
    Get the response content
        
                            mixed
    __call(string $method, array $params = [])
        
    
    __call