- assertHasHeader
void assertHasHeader(ServerHttpResponse response, string header, string expectedValue)
Asserts that the given response has a header with a given value.
- assertStatus
void assertStatus(ServerHttpResponse response, StatusInfo expectedStatus)
Asserts that the given response's status matches an expected status.
- assertStatusBadRequest
void assertStatusBadRequest(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertStatusForbidden
void assertStatusForbidden(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertStatusInternalServerError
void assertStatusInternalServerError(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertStatusNotFound
void assertStatusNotFound(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertStatusOk
void assertStatusOk(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertStatusUnauthorized
void assertStatusUnauthorized(ServerHttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
The testing module defines helper methods for testing your HTTP handling code.