Метод |
Описание |
|
__construct ( Request $request ) |
|
|
iAddHeaderEqualTo ( $name, $value ) |
Add an header element in a request |
|
iSendARequestTo ( $method, $url, Behat\Gherkin\Node\PyStringNode $body = null, $files = [] ) |
Sends a HTTP request |
|
iSendARequestToWithBody ( $method, $url, Behat\Gherkin\Node\PyStringNode $body ) |
Sends a HTTP request with a body |
|
iSendARequestToWithParameters ( $method, $url, Behat\Gherkin\Node\TableNode $datas ) |
Sends a HTTP request with a some parameters |
|
printLastResponseHeaders ( ) |
|
|
printTheCorrespondingCurlCommand ( ) |
|
|
theHeaderShouldBeContains ( $name, $value ) |
Checks, whether the header name contains the given text |
|
theHeaderShouldBeEqualTo ( $name, $value ) |
Checks, whether the header name is equal to given text |
|
theHeaderShouldNotContain ( $name, $value ) |
Checks, whether the header name doesn't contain the given text |
|
theHeaderShouldNotExist ( $name ) |
Checks, whether the header not exist |
|
theResponseShouldBeEmpty ( ) |
Checks, whether the response content is null or empty string |
|
theResponseShouldBeEncodedIn ( $encoding ) |
|
|
theResponseShouldBeEqualTo ( Behat\Gherkin\Node\PyStringNode $expected ) |
Checks, whether the response content is equal to given text |
|
theResponseShouldExpireInTheFuture ( ) |
Checks, that the response header expire is in the future |
|