com.github.mjeanroy.restassert.unit.api.http.GoogleHttpAssert 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 GoogleHttpAssert {
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 GoogleHttpAssert() {
}
/**
* @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.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowCredentials(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowHeaders(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMaxAge
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMaxAge(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowMaxAge(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMethods
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowMethods(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowMethods(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowOrigin
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlAllowOrigin(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlAllowOrigin(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlExposeHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveAccessControlExposeHeaders(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveAccessControlExposeHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCacheControl
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCacheControl(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveCacheControl(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentDisposition
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentDisposition(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveContentDisposition(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentEncoding
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentEncoding(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveContentEncoding(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentSecurityPolicy
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentSecurityPolicy(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveContentSecurityPolicy(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentTypeOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveContentTypeOptions(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveContentTypeOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveCookie(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String name) {
check(message, assertions.doesNotHaveCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveETag
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveETag(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveETag(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveExpires
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveExpires(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveExpires(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveFrameOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveFrameOptions(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveFrameOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveHeader
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveHeader(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String headerName) {
check(message, assertions.doesNotHaveHeader(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLastModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveLastModified(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveLastModified(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLocation
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveLocation(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveLocation(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHavePragma
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHavePragma(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHavePragma(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveStrictTransportSecurity
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveStrictTransportSecurity(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveStrictTransportSecurity(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveXssProtection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertDoesNotHaveXssProtection(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.doesNotHaveXssProtection(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowCredentials
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowCredentials(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowCredentials(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowHeaders(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMaxAge
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMaxAge(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowMaxAge(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMethods
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowMethods(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowMethods(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowOrigin
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlAllowOrigin(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlAllowOrigin(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlExposeHeaders
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasAccessControlExposeHeaders(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasAccessControlExposeHeaders(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCacheControl
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCacheControl(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasCacheControl(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCharset(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.nio.charset.Charset expectedCharset) {
check(message, assertions.hasCharset(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCharset(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String expectedCharset) {
check(message, assertions.hasCharset(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentDisposition
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentDisposition(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentDisposition(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentEncoding
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentEncoding(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentEncoding(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentLength
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentLength(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentLength(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentSecurityPolicy
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentSecurityPolicy(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentSecurityPolicy(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentType(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentType(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentTypeOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasContentTypeOptions(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasContentTypeOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String name, java.lang.String value) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), name, value));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String name) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasCookie(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.internal.data.Cookie cookie) {
check(message, assertions.hasCookie(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), cookie));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasETag
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasETag(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasETag(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasExpires
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasExpires(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasExpires(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasFrameOptions
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasFrameOptions(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasFrameOptions(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasHeader
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasHeader(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String headerName) {
check(message, assertions.hasHeader(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLastModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasLastModified(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasLastModified(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLocation
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasLocation(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasLocation(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasMimeType(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.MediaType expectedMimeType) {
check(message, assertions.hasMimeType(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasMimeType(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String expectedMimeType) {
check(message, assertions.hasMimeType(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasPragma
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasPragma(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasPragma(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasStrictTransportSecurity
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasStrictTransportSecurity(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasStrictTransportSecurity(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasXssProtection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertHasXssProtection(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.hasXssProtection(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccepted
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccepted(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isAccepted(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowCredentialsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowCredentialsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, boolean flag) {
check(message, assertions.isAccessControlAllowCredentialsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), flag));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowHeadersEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.Iterable accessControlAllowHeaders) {
check(message, assertions.isAccessControlAllowHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), accessControlAllowHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMaxAgeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMaxAgeEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, long maxAge) {
check(message, assertions.isAccessControlAllowMaxAgeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), maxAge));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.Iterable methods) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), methods));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowMethodsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.RequestMethod method, com.github.mjeanroy.restassert.core.data.RequestMethod... other) {
check(message, assertions.isAccessControlAllowMethodsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), method, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowOriginEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlAllowOriginEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String accessControlAllowOrigin) {
check(message, assertions.isAccessControlAllowOriginEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), accessControlAllowOrigin));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.Iterable accessControlExposeHeaders) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), accessControlExposeHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsAccessControlExposeHeadersEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String value, java.lang.String... other) {
check(message, assertions.isAccessControlExposeHeadersEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isBadRequest
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsBadRequest(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isBadRequest(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String cacheControl) {
check(message, assertions.isCacheControlEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCacheControlEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.CacheControl cacheControl) {
check(message, assertions.isCacheControlEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isClientError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsClientError(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isClientError(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isConflict
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsConflict(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isConflict(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentDispositionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentDispositionEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String contentDispositionValue) {
check(message, assertions.isContentDispositionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentDispositionValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentEncoding contentEncoding) {
check(message, assertions.isContentEncodingEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentEncoding));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentEncodingEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String contentEncodingValue) {
check(message, assertions.isContentEncodingEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentEncodingValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentSecurityPolicyEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentSecurityPolicy contentSecurityPolicy) {
check(message, assertions.isContentSecurityPolicyEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentType contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String contentTypeValue) {
check(message, assertions.isContentTypeEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentTypeOptions contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsContentTypeOptionsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String contentTypeOptions) {
check(message, assertions.isContentTypeOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCreated
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCreated(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isCreated(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCss
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCss(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isCss(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCsv
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsCsv(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isCsv(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isETagEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsETagEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String etagValue) {
check(message, assertions.isETagEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), etagValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String expiresValue) {
check(message, assertions.isExpiresEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsExpiresEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.util.Date expiresValue) {
check(message, assertions.isExpiresEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isForbidden
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsForbidden(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isForbidden(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsFrameOptionsEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.FrameOptions frameOptions) {
check(message, assertions.isFrameOptionsEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isGzipped
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsGzipped(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isGzipped(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHeaderEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsHeaderEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String headerName, java.lang.String headerValue) {
check(message, assertions.isHeaderEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), headerName, headerValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHtml
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsHtml(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isHtml(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isInternalServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsInternalServerError(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isInternalServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJavascript
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsJavascript(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isJavascript(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJson
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsJson(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isJson(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String lastModifiedValue) {
check(message, assertions.isLastModifiedEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), lastModifiedValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLastModifiedEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.util.Date lastModifiedDate) {
check(message, assertions.isLastModifiedEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), lastModifiedDate));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLocationEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsLocationEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String locationValue) {
check(message, assertions.isLocationEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), locationValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMethodNotAllowed
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMethodNotAllowed(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isMethodNotAllowed(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedPermanently
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMovedPermanently(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isMovedPermanently(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedTemporarily
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsMovedTemporarily(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isMovedTemporarily(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNoContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNoContent(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNoContent(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotAcceptable
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotAcceptable(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotAcceptable(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotClientError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotClientError(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotClientError(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotFound
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotFound(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotFound(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotImplemented
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotImplemented(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotImplemented(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotModified
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotModified(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotModified(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotRedirection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotRedirection(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotRedirection(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotServerError(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotSuccess
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsNotSuccess(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isNotSuccess(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isOk
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsOk(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isOk(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPartialContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPartialContent(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isPartialContent(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPdf
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPdf(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isPdf(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPragmaEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPragmaEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String pragma) {
check(message, assertions.isPragmaEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), pragma));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPreConditionFailed
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsPreConditionFailed(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isPreConditionFailed(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isRedirection
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsRedirection(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isRedirection(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isResetContent
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsResetContent(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isResetContent(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isServerError
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsServerError(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isServerError(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusBetween
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusBetween(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, int start, int end) {
check(message, assertions.isStatusBetween(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusEqual
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusEqual(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, int status) {
check(message, assertions.isStatusEqual(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), status));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusOutOf
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStatusOutOf(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, int start, int end) {
check(message, assertions.isStatusOutOf(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.StrictTransportSecurity strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsStrictTransportSecurityEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String strictTransportSecurity) {
check(message, assertions.isStrictTransportSecurityEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isSuccess
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsSuccess(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isSuccess(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isText
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsText(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isText(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnauthorized
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUnauthorized(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isUnauthorized(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnsupportedMediaType
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUnsupportedMediaType(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isUnsupportedMediaType(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUtf8
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsUtf8(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isUtf8(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXml
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXml(com.google.api.client.http.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.google.api.client.http.HttpResponse actual) {
check(message, assertions.isXml(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual)));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, java.lang.String xssProtection) {
check(message, assertions.isXssProtectionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), xssProtection));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
* Throws an {@link AssertionError} with default message if test failed.
*
* @param actual Actual object.
*/
public static void assertIsXssProtectionEqualTo(com.google.api.client.http.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.google.api.client.http.HttpResponse actual, com.github.mjeanroy.restassert.core.data.XssProtection xssProtection) {
check(message, assertions.isXssProtectionEqualTo(com.github.mjeanroy.restassert.core.internal.data.bindings.google.GoogleHttpResponse.create(actual), xssProtection));
}
}