com.github.mjeanroy.restassert.unit.api.http.HttpAssert 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 HttpAssert {
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 HttpAssert() {
}
/**
* @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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowCredentials(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowHeaders(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowMaxAge(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowMethods(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowOrigin(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlExposeHeaders(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveCacheControl(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveContentDisposition(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveContentEncoding(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveContentSecurityPolicy(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveContentTypeOptions(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveCookie(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name) {
check(message, assertions.doesNotHaveCookie(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveETag(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveExpires(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveFrameOptions(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName) {
check(message, assertions.doesNotHaveHeader(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveLastModified(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveLocation(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHavePragma(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveStrictTransportSecurity(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.doesNotHaveXssProtection(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowCredentials(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowHeaders(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowMaxAge(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowMethods(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowOrigin(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasAccessControlExposeHeaders(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasCacheControl(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.nio.charset.Charset expectedCharset) {
check(message, assertions.hasCharset(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expectedCharset) {
check(message, assertions.hasCharset(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentDisposition(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentEncoding(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentLength(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentSecurityPolicy(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentType(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasContentTypeOptions(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name, java.lang.String value) {
check(message, assertions.hasCookie(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name) {
check(message, assertions.hasCookie(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.internal.data.Cookie cookie) {
check(message, assertions.hasCookie(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasETag(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasExpires(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasFrameOptions(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName) {
check(message, assertions.hasHeader(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasLastModified(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasLocation(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.MediaType expectedMimeType) {
check(message, assertions.hasMimeType(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expectedMimeType) {
check(message, assertions.hasMimeType(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasPragma(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasStrictTransportSecurity(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.hasXssProtection(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isAccepted(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, boolean flag) {
check(message, assertions.isAccessControlAllowCredentialsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable accessControlAllowHeaders) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, long maxAge) {
check(message, assertions.isAccessControlAllowMaxAgeEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable methods) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.RequestMethod method, com.github.mjeanroy.restassert.core.data.RequestMethod... other) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String accessControlAllowOrigin) {
check(message, assertions.isAccessControlAllowOriginEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable accessControlExposeHeaders) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isBadRequest(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String cacheControl) {
check(message, assertions.isCacheControlEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.CacheControl cacheControl) {
check(message, assertions.isCacheControlEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isClientError(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isConflict(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentDispositionValue) {
check(message, assertions.isContentDispositionEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentEncoding contentEncoding) {
check(message, assertions.isContentEncodingEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentEncodingValue) {
check(message, assertions.isContentEncodingEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentSecurityPolicy contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentType contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentTypeOptions contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isCreated(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isCss(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isCsv(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String etagValue) {
check(message, assertions.isETagEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expiresValue) {
check(message, assertions.isExpiresEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.util.Date expiresValue) {
check(message, assertions.isExpiresEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isForbidden(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.FrameOptions frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isGzipped(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName, java.lang.String headerValue) {
check(message, assertions.isHeaderEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isHtml(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isInternalServerError(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isJavascript(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isJson(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String lastModifiedValue) {
check(message, assertions.isLastModifiedEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.util.Date lastModifiedDate) {
check(message, assertions.isLastModifiedEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String locationValue) {
check(message, assertions.isLocationEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isMethodNotAllowed(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isMovedPermanently(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isMovedTemporarily(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNoContent(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotAcceptable(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotClientError(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotFound(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotImplemented(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotModified(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotRedirection(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotServerError(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isNotSuccess(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isOk(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isPartialContent(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isPdf(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String pragma) {
check(message, assertions.isPragmaEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isPreConditionFailed(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isRedirection(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isResetContent(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isServerError(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int start, int end) {
check(message, assertions.isStatusBetween(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int status) {
check(message, assertions.isStatusEqual(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int start, int end) {
check(message, assertions.isStatusOutOf(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.StrictTransportSecurity strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isSuccess(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isText(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isUnauthorized(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isUnsupportedMediaType(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isUtf8(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
check(message, assertions.isXml(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String xssProtection) {
check(message, assertions.isXssProtectionEqualTo(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.github.mjeanroy.restassert.core.internal.data.HttpResponse 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.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.XssProtection xssProtection) {
check(message, assertions.isXssProtectionEqualTo(actual, xssProtection));
}
}