assertHasHeader

Asserts that the given response has a header with a given value.

void
assertHasHeader

Parameters

response ServerHttpResponse

The response to check.

header string

The name of the header to check the value of.

expectedValue string

The expected value of the header.