com.github.mjeanroy.restassert.unit.api.http.NingHttpAssert Maven / Gradle / Ivy
The newest version!
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Mickael Jeanroy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.github.mjeanroy.restassert.unit.api.http;
import static com.github.mjeanroy.restassert.unit.api.AssertUtil.check;
/**
* Static assertions.
* This class is generated.
*/
public final class NingHttpAssert {
private static final com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions assertions = com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions.instance();
// Private constructor to ensure no instantiation
private NingHttpAssert() {
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowCredentials
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowCredentials(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlAllowCredentials(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowCredentials
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowCredentials(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlAllowCredentials(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowHeaders(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlAllowHeaders(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowHeaders
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowHeaders(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlAllowHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMaxAge
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMaxAge(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlAllowMaxAge(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMaxAge
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMaxAge(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlAllowMaxAge(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMethods
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMethods(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlAllowMethods(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMethods
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMethods(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlAllowMethods(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowOrigin
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowOrigin(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlAllowOrigin(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowOrigin
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowOrigin(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlAllowOrigin(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlExposeHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlExposeHeaders(com.ning.http.client.Response actual) {
assertDoesNotHaveAccessControlExposeHeaders(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlExposeHeaders
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlExposeHeaders(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveAccessControlExposeHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCacheControl
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCacheControl(com.ning.http.client.Response actual) {
assertDoesNotHaveCacheControl(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCacheControl
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveCacheControl(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveCacheControl(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentDisposition
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentDisposition(com.ning.http.client.Response actual) {
assertDoesNotHaveContentDisposition(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentDisposition
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentDisposition(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveContentDisposition(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentEncoding
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentEncoding(com.ning.http.client.Response actual) {
assertDoesNotHaveContentEncoding(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentEncoding
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentEncoding(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveContentEncoding(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentSecurityPolicy
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentSecurityPolicy(com.ning.http.client.Response actual) {
assertDoesNotHaveContentSecurityPolicy(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentSecurityPolicy
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentSecurityPolicy(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveContentSecurityPolicy(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentTypeOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentTypeOptions(com.ning.http.client.Response actual) {
assertDoesNotHaveContentTypeOptions(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentTypeOptions
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentTypeOptions(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveContentTypeOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(com.ning.http.client.Response actual) {
assertDoesNotHaveCookie(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(com.ning.http.client.Response actual, java.lang.String name) {
assertDoesNotHaveCookie(null, actual, name);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(String message, com.ning.http.client.Response actual, java.lang.String name) {
check(message, assertions.doesNotHaveCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveETag
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveETag(com.ning.http.client.Response actual) {
assertDoesNotHaveETag(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveETag
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveETag(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveETag(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveExpires
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveExpires(com.ning.http.client.Response actual) {
assertDoesNotHaveExpires(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveExpires
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveExpires(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveExpires(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveFrameOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveFrameOptions(com.ning.http.client.Response actual) {
assertDoesNotHaveFrameOptions(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveFrameOptions
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveFrameOptions(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveFrameOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveHeader
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveHeader(com.ning.http.client.Response actual, java.lang.String headerName) {
assertDoesNotHaveHeader(null, actual, headerName);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveHeader
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveHeader(String message, com.ning.http.client.Response actual, java.lang.String headerName) {
check(message, assertions.doesNotHaveHeader(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLastModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveLastModified(com.ning.http.client.Response actual) {
assertDoesNotHaveLastModified(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLastModified
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveLastModified(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveLastModified(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLocation
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveLocation(com.ning.http.client.Response actual) {
assertDoesNotHaveLocation(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLocation
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveLocation(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveLocation(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHavePragma
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHavePragma(com.ning.http.client.Response actual) {
assertDoesNotHavePragma(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHavePragma
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHavePragma(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHavePragma(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveStrictTransportSecurity
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveStrictTransportSecurity(com.ning.http.client.Response actual) {
assertDoesNotHaveStrictTransportSecurity(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveStrictTransportSecurity
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveStrictTransportSecurity(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveStrictTransportSecurity(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveXssProtection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveXssProtection(com.ning.http.client.Response actual) {
assertDoesNotHaveXssProtection(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveXssProtection
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertDoesNotHaveXssProtection(String message, com.ning.http.client.Response actual) {
check(message, assertions.doesNotHaveXssProtection(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowCredentials
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowCredentials(com.ning.http.client.Response actual) {
assertHasAccessControlAllowCredentials(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowCredentials
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowCredentials(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlAllowCredentials(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowHeaders(com.ning.http.client.Response actual) {
assertHasAccessControlAllowHeaders(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowHeaders
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowHeaders(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlAllowHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMaxAge
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMaxAge(com.ning.http.client.Response actual) {
assertHasAccessControlAllowMaxAge(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMaxAge
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMaxAge(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlAllowMaxAge(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMethods
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMethods(com.ning.http.client.Response actual) {
assertHasAccessControlAllowMethods(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMethods
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMethods(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlAllowMethods(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowOrigin
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowOrigin(com.ning.http.client.Response actual) {
assertHasAccessControlAllowOrigin(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowOrigin
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowOrigin(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlAllowOrigin(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlExposeHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlExposeHeaders(com.ning.http.client.Response actual) {
assertHasAccessControlExposeHeaders(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlExposeHeaders
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasAccessControlExposeHeaders(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasAccessControlExposeHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCacheControl
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCacheControl(com.ning.http.client.Response actual) {
assertHasCacheControl(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCacheControl
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCacheControl(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasCacheControl(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCharset(com.ning.http.client.Response actual, java.nio.charset.Charset expectedCharset) {
assertHasCharset(null, actual, expectedCharset);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCharset(String message, com.ning.http.client.Response actual, java.nio.charset.Charset expectedCharset) {
check(message, assertions.hasCharset(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCharset(com.ning.http.client.Response actual, java.lang.String expectedCharset) {
assertHasCharset(null, actual, expectedCharset);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCharset(String message, com.ning.http.client.Response actual, java.lang.String expectedCharset) {
check(message, assertions.hasCharset(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentDisposition
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentDisposition(com.ning.http.client.Response actual) {
assertHasContentDisposition(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentDisposition
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentDisposition(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentDisposition(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentEncoding
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentEncoding(com.ning.http.client.Response actual) {
assertHasContentEncoding(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentEncoding
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentEncoding(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentEncoding(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentLength
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentLength(com.ning.http.client.Response actual) {
assertHasContentLength(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentLength
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentLength(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentLength(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentSecurityPolicy
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentSecurityPolicy(com.ning.http.client.Response actual) {
assertHasContentSecurityPolicy(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentSecurityPolicy
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentSecurityPolicy(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentSecurityPolicy(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentType(com.ning.http.client.Response actual) {
assertHasContentType(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentType
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentType(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentType(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentTypeOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentTypeOptions(com.ning.http.client.Response actual) {
assertHasContentTypeOptions(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentTypeOptions
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasContentTypeOptions(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasContentTypeOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.ning.http.client.Response actual, java.lang.String name, java.lang.String value) {
assertHasCookie(null, actual, name, value);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCookie(String message, com.ning.http.client.Response actual, java.lang.String name, java.lang.String value) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), name, value));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.ning.http.client.Response actual, java.lang.String name) {
assertHasCookie(null, actual, name);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCookie(String message, com.ning.http.client.Response actual, java.lang.String name) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.internal.data.Cookie cookie) {
assertHasCookie(null, actual, cookie);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasCookie(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.internal.data.Cookie cookie) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), cookie));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasETag
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasETag(com.ning.http.client.Response actual) {
assertHasETag(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasETag
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasETag(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasETag(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasExpires
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasExpires(com.ning.http.client.Response actual) {
assertHasExpires(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasExpires
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasExpires(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasExpires(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasFrameOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasFrameOptions(com.ning.http.client.Response actual) {
assertHasFrameOptions(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasFrameOptions
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasFrameOptions(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasFrameOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasHeader
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasHeader(com.ning.http.client.Response actual, java.lang.String headerName) {
assertHasHeader(null, actual, headerName);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasHeader
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasHeader(String message, com.ning.http.client.Response actual, java.lang.String headerName) {
check(message, assertions.hasHeader(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLastModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasLastModified(com.ning.http.client.Response actual) {
assertHasLastModified(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLastModified
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasLastModified(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasLastModified(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLocation
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasLocation(com.ning.http.client.Response actual) {
assertHasLocation(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLocation
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasLocation(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasLocation(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasMimeType(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.MediaType expectedMimeType) {
assertHasMimeType(null, actual, expectedMimeType);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasMimeType(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.MediaType expectedMimeType) {
check(message, assertions.hasMimeType(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasMimeType(com.ning.http.client.Response actual, java.lang.String expectedMimeType) {
assertHasMimeType(null, actual, expectedMimeType);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasMimeType(String message, com.ning.http.client.Response actual, java.lang.String expectedMimeType) {
check(message, assertions.hasMimeType(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasPragma
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasPragma(com.ning.http.client.Response actual) {
assertHasPragma(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasPragma
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasPragma(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasPragma(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasStrictTransportSecurity
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasStrictTransportSecurity(com.ning.http.client.Response actual) {
assertHasStrictTransportSecurity(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasStrictTransportSecurity
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasStrictTransportSecurity(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasStrictTransportSecurity(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasXssProtection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasXssProtection(com.ning.http.client.Response actual) {
assertHasXssProtection(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasXssProtection
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertHasXssProtection(String message, com.ning.http.client.Response actual) {
check(message, assertions.hasXssProtection(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccepted
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccepted(com.ning.http.client.Response actual) {
assertIsAccepted(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccepted
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccepted(String message, com.ning.http.client.Response actual) {
check(message, assertions.isAccepted(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowCredentialsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowCredentialsEqualTo(com.ning.http.client.Response actual, boolean flag) {
assertIsAccessControlAllowCredentialsEqualTo(null, actual, flag);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowCredentialsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowCredentialsEqualTo(String message, com.ning.http.client.Response actual, boolean flag) {
check(message, assertions.isAccessControlAllowCredentialsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), flag));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(com.ning.http.client.Response actual, java.lang.String value, java.lang.String... other) {
assertIsAccessControlAllowHeadersEqualTo(null, actual, value, other);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(String message, com.ning.http.client.Response actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(com.ning.http.client.Response actual, java.lang.Iterable accessControlAllowHeaders) {
assertIsAccessControlAllowHeadersEqualTo(null, actual, accessControlAllowHeaders);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(String message, com.ning.http.client.Response actual, java.lang.Iterable accessControlAllowHeaders) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), accessControlAllowHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMaxAgeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMaxAgeEqualTo(com.ning.http.client.Response actual, long maxAge) {
assertIsAccessControlAllowMaxAgeEqualTo(null, actual, maxAge);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMaxAgeEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMaxAgeEqualTo(String message, com.ning.http.client.Response actual, long maxAge) {
check(message, assertions.isAccessControlAllowMaxAgeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), maxAge));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(com.ning.http.client.Response actual, java.lang.Iterable methods) {
assertIsAccessControlAllowMethodsEqualTo(null, actual, methods);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(String message, com.ning.http.client.Response actual, java.lang.Iterable methods) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), methods));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.RequestMethod method, com.github.mjeanroy.restassert.core.data.RequestMethod... other) {
assertIsAccessControlAllowMethodsEqualTo(null, actual, method, other);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.RequestMethod method, com.github.mjeanroy.restassert.core.data.RequestMethod... other) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), method, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowOriginEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowOriginEqualTo(com.ning.http.client.Response actual, java.lang.String accessControlAllowOrigin) {
assertIsAccessControlAllowOriginEqualTo(null, actual, accessControlAllowOrigin);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowOriginEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowOriginEqualTo(String message, com.ning.http.client.Response actual, java.lang.String accessControlAllowOrigin) {
check(message, assertions.isAccessControlAllowOriginEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), accessControlAllowOrigin));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(com.ning.http.client.Response actual, java.lang.Iterable accessControlExposeHeaders) {
assertIsAccessControlExposeHeadersEqualTo(null, actual, accessControlExposeHeaders);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(String message, com.ning.http.client.Response actual, java.lang.Iterable accessControlExposeHeaders) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), accessControlExposeHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(com.ning.http.client.Response actual, java.lang.String value, java.lang.String... other) {
assertIsAccessControlExposeHeadersEqualTo(null, actual, value, other);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(String message, com.ning.http.client.Response actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isBadRequest
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsBadRequest(com.ning.http.client.Response actual) {
assertIsBadRequest(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isBadRequest
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsBadRequest(String message, com.ning.http.client.Response actual) {
check(message, assertions.isBadRequest(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(com.ning.http.client.Response actual, java.lang.String cacheControl) {
assertIsCacheControlEqualTo(null, actual, cacheControl);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(String message, com.ning.http.client.Response actual, java.lang.String cacheControl) {
check(message, assertions.isCacheControlEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.CacheControl cacheControl) {
assertIsCacheControlEqualTo(null, actual, cacheControl);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.CacheControl cacheControl) {
check(message, assertions.isCacheControlEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isClientError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsClientError(com.ning.http.client.Response actual) {
assertIsClientError(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isClientError
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsClientError(String message, com.ning.http.client.Response actual) {
check(message, assertions.isClientError(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isConflict
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsConflict(com.ning.http.client.Response actual) {
assertIsConflict(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isConflict
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsConflict(String message, com.ning.http.client.Response actual) {
check(message, assertions.isConflict(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentDispositionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentDispositionEqualTo(com.ning.http.client.Response actual, java.lang.String contentDispositionValue) {
assertIsContentDispositionEqualTo(null, actual, contentDispositionValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentDispositionEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentDispositionEqualTo(String message, com.ning.http.client.Response actual, java.lang.String contentDispositionValue) {
check(message, assertions.isContentDispositionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentDispositionValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentEncoding contentEncoding) {
assertIsContentEncodingEqualTo(null, actual, contentEncoding);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentEncoding contentEncoding) {
check(message, assertions.isContentEncodingEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentEncoding));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(com.ning.http.client.Response actual, java.lang.String contentEncodingValue) {
assertIsContentEncodingEqualTo(null, actual, contentEncodingValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(String message, com.ning.http.client.Response actual, java.lang.String contentEncodingValue) {
check(message, assertions.isContentEncodingEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentEncodingValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(com.ning.http.client.Response actual, java.lang.String contentSecurityPolicy) {
assertIsContentSecurityPolicyEqualTo(null, actual, contentSecurityPolicy);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(String message, com.ning.http.client.Response actual, java.lang.String contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentSecurityPolicy contentSecurityPolicy) {
assertIsContentSecurityPolicyEqualTo(null, actual, contentSecurityPolicy);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentSecurityPolicy contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentType contentTypeValue) {
assertIsContentTypeEqualTo(null, actual, contentTypeValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentType contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(com.ning.http.client.Response actual, java.lang.String contentTypeValue) {
assertIsContentTypeEqualTo(null, actual, contentTypeValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(String message, com.ning.http.client.Response actual, java.lang.String contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentTypeOptions contentTypeOptions) {
assertIsContentTypeOptionsEqualTo(null, actual, contentTypeOptions);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.ContentTypeOptions contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(com.ning.http.client.Response actual, java.lang.String contentTypeOptions) {
assertIsContentTypeOptionsEqualTo(null, actual, contentTypeOptions);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(String message, com.ning.http.client.Response actual, java.lang.String contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCreated
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCreated(com.ning.http.client.Response actual) {
assertIsCreated(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCreated
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsCreated(String message, com.ning.http.client.Response actual) {
check(message, assertions.isCreated(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCss
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCss(com.ning.http.client.Response actual) {
assertIsCss(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCss
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsCss(String message, com.ning.http.client.Response actual) {
check(message, assertions.isCss(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCsv
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCsv(com.ning.http.client.Response actual) {
assertIsCsv(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCsv
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsCsv(String message, com.ning.http.client.Response actual) {
check(message, assertions.isCsv(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isETagEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsETagEqualTo(com.ning.http.client.Response actual, java.lang.String etagValue) {
assertIsETagEqualTo(null, actual, etagValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isETagEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsETagEqualTo(String message, com.ning.http.client.Response actual, java.lang.String etagValue) {
check(message, assertions.isETagEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), etagValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(com.ning.http.client.Response actual, java.lang.String expiresValue) {
assertIsExpiresEqualTo(null, actual, expiresValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(String message, com.ning.http.client.Response actual, java.lang.String expiresValue) {
check(message, assertions.isExpiresEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(com.ning.http.client.Response actual, java.util.Date expiresValue) {
assertIsExpiresEqualTo(null, actual, expiresValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(String message, com.ning.http.client.Response actual, java.util.Date expiresValue) {
check(message, assertions.isExpiresEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isForbidden
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsForbidden(com.ning.http.client.Response actual) {
assertIsForbidden(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isForbidden
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsForbidden(String message, com.ning.http.client.Response actual) {
check(message, assertions.isForbidden(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(com.ning.http.client.Response actual, java.lang.String frameOptions) {
assertIsFrameOptionsEqualTo(null, actual, frameOptions);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(String message, com.ning.http.client.Response actual, java.lang.String frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.FrameOptions frameOptions) {
assertIsFrameOptionsEqualTo(null, actual, frameOptions);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.FrameOptions frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isGzipped
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsGzipped(com.ning.http.client.Response actual) {
assertIsGzipped(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isGzipped
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsGzipped(String message, com.ning.http.client.Response actual) {
check(message, assertions.isGzipped(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHeaderEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsHeaderEqualTo(com.ning.http.client.Response actual, java.lang.String headerName, java.lang.String headerValue) {
assertIsHeaderEqualTo(null, actual, headerName, headerValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHeaderEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsHeaderEqualTo(String message, com.ning.http.client.Response actual, java.lang.String headerName, java.lang.String headerValue) {
check(message, assertions.isHeaderEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), headerName, headerValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHtml
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsHtml(com.ning.http.client.Response actual) {
assertIsHtml(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHtml
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsHtml(String message, com.ning.http.client.Response actual) {
check(message, assertions.isHtml(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isInternalServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsInternalServerError(com.ning.http.client.Response actual) {
assertIsInternalServerError(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isInternalServerError
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsInternalServerError(String message, com.ning.http.client.Response actual) {
check(message, assertions.isInternalServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJavascript
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsJavascript(com.ning.http.client.Response actual) {
assertIsJavascript(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJavascript
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsJavascript(String message, com.ning.http.client.Response actual) {
check(message, assertions.isJavascript(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJson
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsJson(com.ning.http.client.Response actual) {
assertIsJson(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJson
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsJson(String message, com.ning.http.client.Response actual) {
check(message, assertions.isJson(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(com.ning.http.client.Response actual, java.lang.String lastModifiedValue) {
assertIsLastModifiedEqualTo(null, actual, lastModifiedValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(String message, com.ning.http.client.Response actual, java.lang.String lastModifiedValue) {
check(message, assertions.isLastModifiedEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), lastModifiedValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(com.ning.http.client.Response actual, java.util.Date lastModifiedDate) {
assertIsLastModifiedEqualTo(null, actual, lastModifiedDate);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(String message, com.ning.http.client.Response actual, java.util.Date lastModifiedDate) {
check(message, assertions.isLastModifiedEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), lastModifiedDate));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLocationEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLocationEqualTo(com.ning.http.client.Response actual, java.lang.String locationValue) {
assertIsLocationEqualTo(null, actual, locationValue);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLocationEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsLocationEqualTo(String message, com.ning.http.client.Response actual, java.lang.String locationValue) {
check(message, assertions.isLocationEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), locationValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMethodNotAllowed
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMethodNotAllowed(com.ning.http.client.Response actual) {
assertIsMethodNotAllowed(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMethodNotAllowed
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsMethodNotAllowed(String message, com.ning.http.client.Response actual) {
check(message, assertions.isMethodNotAllowed(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedPermanently
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMovedPermanently(com.ning.http.client.Response actual) {
assertIsMovedPermanently(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedPermanently
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsMovedPermanently(String message, com.ning.http.client.Response actual) {
check(message, assertions.isMovedPermanently(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedTemporarily
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMovedTemporarily(com.ning.http.client.Response actual) {
assertIsMovedTemporarily(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedTemporarily
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsMovedTemporarily(String message, com.ning.http.client.Response actual) {
check(message, assertions.isMovedTemporarily(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNoContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNoContent(com.ning.http.client.Response actual) {
assertIsNoContent(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNoContent
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNoContent(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNoContent(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotAcceptable
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotAcceptable(com.ning.http.client.Response actual) {
assertIsNotAcceptable(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotAcceptable
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotAcceptable(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotAcceptable(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotClientError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotClientError(com.ning.http.client.Response actual) {
assertIsNotClientError(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotClientError
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotClientError(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotClientError(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotFound
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotFound(com.ning.http.client.Response actual) {
assertIsNotFound(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotFound
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotFound(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotFound(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotImplemented
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotImplemented(com.ning.http.client.Response actual) {
assertIsNotImplemented(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotImplemented
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotImplemented(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotImplemented(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotModified(com.ning.http.client.Response actual) {
assertIsNotModified(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotModified
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotModified(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotModified(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotRedirection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotRedirection(com.ning.http.client.Response actual) {
assertIsNotRedirection(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotRedirection
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotRedirection(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotRedirection(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotServerError(com.ning.http.client.Response actual) {
assertIsNotServerError(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotServerError
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotServerError(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotSuccess
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotSuccess(com.ning.http.client.Response actual) {
assertIsNotSuccess(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotSuccess
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsNotSuccess(String message, com.ning.http.client.Response actual) {
check(message, assertions.isNotSuccess(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isOk
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsOk(com.ning.http.client.Response actual) {
assertIsOk(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isOk
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsOk(String message, com.ning.http.client.Response actual) {
check(message, assertions.isOk(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPartialContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPartialContent(com.ning.http.client.Response actual) {
assertIsPartialContent(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPartialContent
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsPartialContent(String message, com.ning.http.client.Response actual) {
check(message, assertions.isPartialContent(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPdf
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPdf(com.ning.http.client.Response actual) {
assertIsPdf(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPdf
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsPdf(String message, com.ning.http.client.Response actual) {
check(message, assertions.isPdf(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPragmaEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPragmaEqualTo(com.ning.http.client.Response actual, java.lang.String pragma) {
assertIsPragmaEqualTo(null, actual, pragma);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPragmaEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsPragmaEqualTo(String message, com.ning.http.client.Response actual, java.lang.String pragma) {
check(message, assertions.isPragmaEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), pragma));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPreConditionFailed
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPreConditionFailed(com.ning.http.client.Response actual) {
assertIsPreConditionFailed(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPreConditionFailed
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsPreConditionFailed(String message, com.ning.http.client.Response actual) {
check(message, assertions.isPreConditionFailed(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isRedirection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsRedirection(com.ning.http.client.Response actual) {
assertIsRedirection(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isRedirection
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsRedirection(String message, com.ning.http.client.Response actual) {
check(message, assertions.isRedirection(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isResetContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsResetContent(com.ning.http.client.Response actual) {
assertIsResetContent(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isResetContent
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsResetContent(String message, com.ning.http.client.Response actual) {
check(message, assertions.isResetContent(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsServerError(com.ning.http.client.Response actual) {
assertIsServerError(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isServerError
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsServerError(String message, com.ning.http.client.Response actual) {
check(message, assertions.isServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusBetween
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusBetween(com.ning.http.client.Response actual, int start, int end) {
assertIsStatusBetween(null, actual, start, end);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusBetween
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsStatusBetween(String message, com.ning.http.client.Response actual, int start, int end) {
check(message, assertions.isStatusBetween(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusEqual
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusEqual(com.ning.http.client.Response actual, int status) {
assertIsStatusEqual(null, actual, status);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusEqual
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsStatusEqual(String message, com.ning.http.client.Response actual, int status) {
check(message, assertions.isStatusEqual(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), status));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusOutOf
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusOutOf(com.ning.http.client.Response actual, int start, int end) {
assertIsStatusOutOf(null, actual, start, end);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusOutOf
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsStatusOutOf(String message, com.ning.http.client.Response actual, int start, int end) {
check(message, assertions.isStatusOutOf(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.StrictTransportSecurity strictTransportSecurity) {
assertIsStrictTransportSecurityEqualTo(null, actual, strictTransportSecurity);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.StrictTransportSecurity strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(com.ning.http.client.Response actual, java.lang.String strictTransportSecurity) {
assertIsStrictTransportSecurityEqualTo(null, actual, strictTransportSecurity);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(String message, com.ning.http.client.Response actual, java.lang.String strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isSuccess
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsSuccess(com.ning.http.client.Response actual) {
assertIsSuccess(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isSuccess
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsSuccess(String message, com.ning.http.client.Response actual) {
check(message, assertions.isSuccess(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isText
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsText(com.ning.http.client.Response actual) {
assertIsText(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isText
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsText(String message, com.ning.http.client.Response actual) {
check(message, assertions.isText(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnauthorized
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUnauthorized(com.ning.http.client.Response actual) {
assertIsUnauthorized(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnauthorized
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsUnauthorized(String message, com.ning.http.client.Response actual) {
check(message, assertions.isUnauthorized(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnsupportedMediaType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUnsupportedMediaType(com.ning.http.client.Response actual) {
assertIsUnsupportedMediaType(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnsupportedMediaType
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsUnsupportedMediaType(String message, com.ning.http.client.Response actual) {
check(message, assertions.isUnsupportedMediaType(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUtf8
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUtf8(com.ning.http.client.Response actual) {
assertIsUtf8(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUtf8
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsUtf8(String message, com.ning.http.client.Response actual) {
check(message, assertions.isUtf8(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXml
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXml(com.ning.http.client.Response actual) {
assertIsXml(null, actual);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXml
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsXml(String message, com.ning.http.client.Response actual) {
check(message, assertions.isXml(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(com.ning.http.client.Response actual, java.lang.String xssProtection) {
assertIsXssProtectionEqualTo(null, actual, xssProtection);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(String message, com.ning.http.client.Response actual, java.lang.String xssProtection) {
check(message, assertions.isXssProtectionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), xssProtection));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.XssProtection xssProtection) {
assertIsXssProtectionEqualTo(null, actual, xssProtection);
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with given message if test failed.
*
* @param message The identifying message for the {@link AssertionError}.
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(String message, com.ning.http.client.Response actual, com.github.mjeanroy.restassert.core.data.XssProtection xssProtection) {
check(message, assertions.isXssProtectionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.ning.NingHttpResponse.create(actual), xssProtection));
}
}