use of com.github.mjeanroy.junit.servers.client.HttpHeader in project junit-servers by mjeanroy.
the class AbstractHttpResponseImplTest method it_should_get_x_content_type_options_header.
@Test
void it_should_get_x_content_type_options_header() {
final String name = "X-Content-Type-Options";
final String value = "nosniff";
final V response = createHttpResponseWithHeader(name, value);
final HttpHeader header = response.getXContentTypeOptions();
assertHeader(header, name, value);
}
Aggregations