Interface AssertOnValueInequality<T extends AssertOnValueInequality<T>>
- Type Parameters:
T- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
- All Known Implementing Classes:
AbstractAssertWithValues,AbstractColumnValueAssert,AbstractRowValueAssert,AbstractValueAssert,ChangeColumnValueAssert,ChangeRowValueAssert,RequestColumnValueAssert,RequestRowValueAssert,TableColumnValueAssert,TableRowValueAssert
- Author:
- Régis Pouiller, Otoniel Isidoro
-
Method Summary
Modifier and TypeMethodDescriptionisNotEqualTo(byte[] expected) Verifies that the value is not equal to a array of bytes.isNotEqualTo(Boolean expected) Verifies that the value is not equal to a boolean.isNotEqualTo(Character expected) Verifies that the value is not equal to a character.isNotEqualTo(Number expected) Verifies that the value is not equal to a number.isNotEqualTo(Object expected) Verifies that the value is not equal to a object.isNotEqualTo(String expected) Verifies that the value is not equal to a text.isNotEqualTo(LocalDate expected) Verifies that the value is not equal to a date value.isNotEqualTo(LocalDateTime expected) Verifies that the value is not equal to a date/time value.isNotEqualTo(LocalTime expected) Verifies that the value is not equal to a time value.isNotEqualTo(UUID expected) Verifies that the value is not equal to an UUID.isNotEqualTo(DateTimeValue expected) Verifies that the value is not equal to a date/time value.isNotEqualTo(DateValue expected) Verifies that the value is not equal to a date value.isNotEqualTo(TimeValue expected) Verifies that the value is not equal to a time value.Verifies that the value is not equal to zero.
-
Method Details
-
isNotEqualTo
Verifies that the value is not equal to a object.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to true french Locale :assertThat(table).row().value().isNotEqualTo(Locale.FRENCH);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to french Locale :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(Locale.FRENCH);- Parameters:
expected- The expected object value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the object in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a boolean.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to true boolean :assertThat(table).row().value().isNotEqualTo(true);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to true boolean :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(true);- Parameters:
expected- The expected boolean value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the boolean in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a array of bytes.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a array of bytes loaded from a file in the classpath :byte[] bytes = bytesContentFromClassPathOf("file.png"); assertThat(table).row().value().isNotEqualTo(bytes);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a array of bytes loaded from a file in the classpath :byte[] bytes = bytesContentFromClassPathOf("file.png"); assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(bytes);- Parameters:
expected- The expected array of bytes value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the array of bytes in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a date/time value :assertThat(table).row().value().isNotEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));- Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the date/time value in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a date value :assertThat(table).row().value().isNotEqualTo(DateValue.of(2014, 7, 7));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateValue.of(2014, 7, 7));- Parameters:
expected- The expected date value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the date value in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to number 3 :assertThat(table).row().value().isNotEqualTo(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(3);- Parameters:
expected- The expected number value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the number in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a text.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a text :assertThat(table).row().value().isNotEqualTo("text");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a text :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo("text");- Parameters:
expected- The expected text value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the text in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a character.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a character :assertThat(table).row().value().isNotEqualTo('c');Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a character :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo('c');- Parameters:
expected- The expected character value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the character in parameter.- Since:
- 1.2.0
- See Also:
-
isNotEqualTo
Verifies that the value is not equal to an UUID.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to an UUID :assertThat(table).row().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to an UUID :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));- Parameters:
expected- The expected UUID value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the UUID in parameter.- Since:
- 1.1.0
- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a time value :assertThat(table).row().value().isNotEqualTo(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(TimeValue.of(21, 29, 30));- Parameters:
expected- The expected time value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the time value in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a date value :assertThat(table).row().value().isNotEqualTo(LocalDate.of(2014, 7, 7));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDate.of(2014, 7, 7));- Parameters:
expected- The expected date value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the date value in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a time value :assertThat(table).row().value().isNotEqualTo(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalTime.of(21, 29, 30));- Parameters:
expected- The expected time value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the time value in parameter.- See Also:
-
isNotEqualTo
Verifies that the value is not equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to a date/time value :assertThat(table).row().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));- Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to the date/time value in parameter.- See Also:
-
isNotZero
T isNotZero()Verifies that the value is not equal to zero.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis not equal to zero :assertThat(table).row().value().isNotZero();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis not equal to zero :assertThat(changes).change().rowAtEndPoint().value().isNotZero();- Returns:
thisassertion object.- Throws:
AssertionError- If the value is equal to zero.- See Also:
-