public class AssertionsOnValueNonEquality extends Object
AssertOnValueNonEquality| Modifier and Type | Method and Description |
|---|---|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
Boolean expected)
Verifies that the value is not equal to a boolean.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
byte[] expected)
Verifies that the value is not equal to a array of bytes.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateValue expected)
Verifies that the value is not equal to a date value.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
Number expected)
Verifies that the value is not equal to a number.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
String expected)
Verifies that the value is not equal to a text.
|
static <A extends AbstractAssert> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
TimeValue expected)
Verifies that the value is not equal to a time value.
|
static <A extends AbstractAssert> |
isNotZero(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value)
Verifies that the value is not equal to zero.
|
public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, Boolean expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected boolean value.this assertion object.AssertionError - If the value is equal to the boolean in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, byte[] expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected array of bytes value.this assertion object.AssertionError - If the value is equal to the array of bytes in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateTimeValue expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected date/time value.this assertion object.AssertionError - If the value is equal to the date/time value in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateValue expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected date value.this assertion object.AssertionError - If the value is equal to the date value in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, Number expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected number value.this assertion object.AssertionError - If the value is equal to the number in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, String expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected text value.this assertion object.AssertionError - If the value is equal to the text in parameter.public static <A extends AbstractAssert> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, TimeValue expected)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.expected - The expected time value.this assertion object.AssertionError - If the value is equal to the time value in parameter.public static <A extends AbstractAssert> A isNotZero(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value)
A - The type of the assertion which call this method.assertion - The assertion which call this method.info - Writable information about an assertion.value - The value.this assertion object.AssertionError - If the value is equal to zero.Copyright © 2015 AssertJ. All Rights Reserved.