v1.0.0
English

TestResponse.php

system/Test/TestResponse.php
1 class 32 methods

class TestResponse

Consolidated response processing for test results.
__construct (ResponseInterface $response) public
setRequest (RequestInterface $request) public
setResponse (ResponseInterface $response) public
request () public
response () public
isOK () public
assertStatus (int $code) public
assertOK () public
assertNotOK () public
isRedirect () public
assertRedirect () public
assertRedirectTo (string $uri) public
assertNotRedirect () public
getRedirectUrl () public
assertSessionHas (string $key, $value = null) public
assertSessionMissing (string $key) public
assertHeader (string $key, $value = null) public
assertHeaderMissing (string $key) public
assertCookie (string $key, $value = null, string $prefix = '') public
assertCookieMissing (string $key) public
assertCookieExpired (string $key, string $prefix = '') public
getJSON () public
assertJSONFragment (array $fragment, bool $strict = false) public
assertJSONExact ($test) public
getXML () public
assertSee (?string $search = null, ?string $element = null) public
assertDontSee (?string $search = null, ?string $element = null) public
assertSeeElement (string $search) public
assertDontSeeElement (string $search) public
assertSeeLink (string $text, ?string $details = null) public
assertSeeInField (string $field, ?string $value = null) public
__call (string $function, array $params) public
phpDG v1.0.0 TestResponse.php 662 files 498 classes 763 fn
Generated