public class AssertionsOnValueInequality extends Object
AssertOnValueInequality
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value 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,
Value 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,
Value value,
Character expected)
Verifies that the value is not equal to a character.
|
static <A extends AbstractAssert<?>> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value 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,
Value 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,
Value 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,
Value value,
Object expected)
Verifies that the value is not equal to a boolean.
|
static <A extends AbstractAssert<?>> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value 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,
Value value,
TimeValue expected)
Verifies that the value is not equal to a time value.
|
static <A extends AbstractAssert<?>> |
isNotEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
UUID expected)
Verifies that the value is not equal to an UUID.
|
static <A extends AbstractAssert<?>> |
isNotZero(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value 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, Value value, Object 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 object value.this
assertion object.AssertionError
- If the value is equal to the object in parameter.public static <A extends AbstractAssert<?>> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value 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, Value 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, Value 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, Value 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, Value 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, Value 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, Value value, Character 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 character value.this
assertion object.AssertionError
- If the value is equal to the character in parameter.public static <A extends AbstractAssert<?>> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, UUID 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 UUID value.this
assertion object.AssertionError
- If the value is equal to the UUID in parameter.public static <A extends AbstractAssert<?>> A isNotEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value 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, Value 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–2017 AssertJ. All rights reserved.