Class AbstractAssertWithValues<E extends AbstractAssertWithValues<E,O>,O extends OriginWithColumnsAndRowsFromChange<ChangesAssert,ChangeAssert,ChangeColumnAssert,ChangeRowAssert>>
- Type Parameters:
E- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.O- The type of the assertion class ofOrigin.
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<E>,AssertOnValueChronology<E>,AssertOnValueClass<E>,AssertOnValueCloseness<E>,AssertOnValueComparison<E>,AssertOnValueCondition<E>,AssertOnValueEquality<E>,AssertOnValueInequality<E>,AssertOnValueNullity<E>,AssertOnValueType<E>,Element,ValueElement,Navigation,ToChange<ChangeAssert>,ToChanges<ChangesAssert>,ToColumn<ChangeColumnAssert>,ToColumnFromChange<ChangeColumnAssert>,ToRowFromChange<ChangeRowAssert>
- Direct Known Subclasses:
ChangeColumnValueAssert,ChangeRowValueAssert
Change assertions.- Author:
- Régis Pouiller, Otoniel Isidoro, Julien Roy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ValueThe actual value on which the assertion is.Fields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
originFields inherited from class org.assertj.db.global.AbstractElement
info, myself -
Method Summary
Modifier and TypeMethodDescriptiondoesNotHave(org.assertj.core.api.Condition<?> condition) Verifies that the actual value does not satisfy the given condition.has(org.assertj.core.api.Condition<?> condition) Verifies that the actual value satisfies the given condition.is(org.assertj.core.api.Condition<?> condition) Verifies that the actual value satisfies the given condition.Verifies that the value is after a date, time or date/time represented by aString.Verifies that the value is after a date value.isAfter(LocalDateTime dateTime) Verifies that the value is after a date/time value.Verifies that the value is after a time value.isAfter(DateTimeValue dateTime) Verifies that the value is after a date/time value.Verifies that the value is after a date value.Verifies that the value is after a time value.isAfterOrEqualTo(String expected) Verifies that the value is after or equal to a date, time or date/time represented by aString.isAfterOrEqualTo(LocalDate date) Verifies that the value is after or equal to a date value.isAfterOrEqualTo(LocalDateTime dateTime) Verifies that the value is after or equal to a date/time value.isAfterOrEqualTo(LocalTime time) Verifies that the value is after or equal to a time value.isAfterOrEqualTo(DateTimeValue dateTime) Verifies that the value is after or equal to a date/time value.isAfterOrEqualTo(DateValue date) Verifies that the value is after or equal to a date value.isAfterOrEqualTo(TimeValue time) Verifies that the value is after or equal to a time value.Verifies that the value is before a date, time or date/time represented by aString.Verifies that the value is before a date value.isBefore(LocalDateTime dateTime) Verifies that the value is before a date/time value.Verifies that the value is before a time value.isBefore(DateTimeValue dateTime) Verifies that the value is before a date/time value.Verifies that the value is before a date value.Verifies that the value is before a time value.isBeforeOrEqualTo(String expected) Verifies that the value is before or equal to a date, time or date/time represented by aString.isBeforeOrEqualTo(LocalDate date) Verifies that the value is before or equal to a date value.isBeforeOrEqualTo(LocalDateTime dateTime) Verifies that the value is before or equal to a date/time value.isBeforeOrEqualTo(LocalTime time) Verifies that the value is before or equal to a time value.isBeforeOrEqualTo(DateTimeValue dateTime) Verifies that the value is before or equal to a date/time value.isBeforeOrEqualTo(DateValue date) Verifies that the value is before or equal to a date value.isBeforeOrEqualTo(TimeValue time) Verifies that the value is before or equal to a time value.Verifies that the value is a boolean.isBytes()Verifies that the value is a array of bytes.Verifies that the value is close to a number.isCloseTo(DateTimeValue expected, DateTimeValue tolerance) Verifies that the value is close to a date/time.isCloseTo(DateTimeValue expected, DateValue tolerance) Verifies that the value is close to a date/time.isCloseTo(DateTimeValue expected, TimeValue tolerance) Verifies that the value is close to a date/time.isCloseTo(DateValue expected, DateTimeValue tolerance) Verifies that the value is close to a date.Verifies that the value is close to a date.Verifies that the value is close to a date.Verifies that the value is close to a time.isDate()Verifies that the value is a date.Verifies that the value is a date/time.isEqualTo(byte[] expected) Verifies that the value is equal to a array of bytes.Verifies that the value is equal to a boolean.Verifies that the value is equal to a character.Verifies that the value is equal to a number.Verifies that the value is equal to a boolean.Verifies that the value is equal to a text.Verifies that the value is equal to a date value.isEqualTo(LocalDateTime expected) Verifies that the value is equal to a date/time value.Verifies that the value is equal to a time value.Verifies that the value is equal to an UUID.isEqualTo(DateTimeValue expected) Verifies that the value is equal to a date/time value.Verifies that the value is equal to a date value.Verifies that the value is equal to a time value.isFalse()Verifies that the value is equal to false boolean.isGreaterThan(Number expected) Verifies that the value is greater than a number.isGreaterThanOrEqualTo(Number expected) Verifies that the value is greater than or equal to a number.isLessThan(Number expected) Verifies that the value is less than a number.isLessThanOrEqualTo(Number expected) Verifies that the value is less than or equal to a number.isNot(org.assertj.core.api.Condition<?> condition) Verifies that the actual value does not satisfy the given condition.isNotEqualTo(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 notnull.Verifies that the value is not equal to zero.isNull()Verifies that the value isnull.isNumber()Verifies that the value is a number.isOfAnyTypeIn(ValueType... expected) Verifies that the type of the value is equal to one of the types in parameters.Verifies that the class of the value is equal to the class in parameter.Verifies that the type of the value is equal to the type in parameter.isText()Verifies that the value is a text.isTime()Verifies that the value is a time.isTrue()Verifies that the value is equal to true boolean.isUUID()Verifies that the value is an UUID.isZero()Verifies that the value is equal to zero.satisfies(org.assertj.core.api.Condition<?> condition) Verifies that the actual value satisfies the given condition.Methods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRowsFromChange
column, column, column, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, columnAmongTheModifiedOnes, rowAtEndPoint, rowAtStartPointMethods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithChanges
change, change, changeOfCreation, changeOfCreation, changeOfCreationOnTable, changeOfCreationOnTable, changeOfDeletion, changeOfDeletion, changeOfDeletionOnTable, changeOfDeletionOnTable, changeOfModification, changeOfModification, changeOfModificationOnTable, changeOfModificationOnTable, changeOnTable, changeOnTable, changeOnTableWithPks, ofAll, ofCreation, ofCreationOnTable, ofDeletion, ofDeletionOnTable, ofModification, ofModificationOnTable, onTableMethods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOriginMethods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as
-
Field Details
-
value
The actual value on which the assertion is.
-
-
Method Details
-
isOfClass
Verifies that the class of the value is equal to the class in parameter.Example where the assertion verifies that the value in the
Columncalled "title" of the secondRowof theTableis of classString:assertThat(table).row(1).value("title").isOfClass(String.class);Example where the assertion verifies that the value in the
Columncalled "title" of theRowat end point of the firstChangeis of classString:assertThat(changes).change().rowAtEndPoint().value("title").isOfClass(String.class);- Specified by:
isOfClassin interfaceAssertOnValueClass<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected class to compare to.- Returns:
thisassertion object.- See Also:
-
isOfType
Verifies that the type of the value is equal to the type in parameter.Example where the assertion verifies that the value in the
Columncalled "title" of the secondRowof theTableis of typeTEXT:assertThat(table).row(1).value("title").isOfType(ValueType.TEXT);Example where the assertion verifies that the value in the
Columncalled "title" of theRowat end point of the firstChangeis of typeTEXT:assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT);- Specified by:
isOfTypein interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected type to compare to.- Returns:
thisassertion object.- See Also:
-
isOfAnyTypeIn
Verifies that the type of the value is equal to one of the types in parameters.Example where the assertion verifies that the value in the
Columncalled "title" of the secondRowof theTableis of typeTEXTor of typeNUMBER:assertThat(table).row(1).value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);Example where the assertion verifies that the value in the
Columncalled "title" of theRowat end point of the firstChangeis of typeTEXTor of typeNUMBER:assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);- Specified by:
isOfAnyTypeInin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected types to compare to.- Returns:
thisassertion object.- See Also:
-
isNumber
Verifies that the value is a number.Example where the assertion verifies that the value in the
Columncalled "year" of the firstRowof theTableis a number :assertThat(table).row().value("year").isNumber();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a number :assertThat(changes).change().rowAtEndPoint().value().isNumber();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.NUMBER);- Specified by:
isNumberin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isBoolean
Verifies that the value is a boolean.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis a boolean :assertThat(table).row().value().isBoolean();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a boolean :assertThat(changes).change().rowAtEndPoint().value().isBoolean();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BOOLEAN);- Specified by:
isBooleanin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isDate
Verifies that the value is a date.Example where the assertion verifies that the value in the
Columncalled "birth" of the firstRowof theTableis a date :assertThat(table).row().value("birth").isDate();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a date :assertThat(changes).change().rowAtEndPoint().value().isDate();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE);- Specified by:
isDatein interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isTime
Verifies that the value is a time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis a time :assertThat(table).row().value().isTime();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a time :assertThat(changes).change().rowAtEndPoint().value().isTime();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TIME);- Specified by:
isTimein interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isDateTime
Verifies that the value is a date/time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis a date/time :assertThat(table).row().value().isDateTime();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a date/time :assertThat(changes).change().rowAtEndPoint().value().isDateTime();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE_TIME);- Specified by:
isDateTimein interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isBytes
Verifies that the value is a array of bytes.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis a array of bytes :assertThat(table).row().value().isBytes();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a array of bytes :assertThat(changes).change().rowAtEndPoint().value().isBytes();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BYTES);- Specified by:
isBytesin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isText
Verifies that the value is a text.Example where the assertion verifies that the value in the
Columncalled "title" of the firstRowof theTableis a text :assertThat(table).row().value("title").isText();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis a text :assertThat(changes).change().rowAtEndPoint().value().isText();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TEXT);- Specified by:
isTextin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isUUID
Verifies that the value is an UUID.Example where the assertion verifies that the value in the
Columncalled id of the firstRowof theTableis an UUID :assertThat(table).row().value("id").isUUID();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis an UUID :assertThat(changes).change().rowAtEndPoint().value().isUUID();This assertion method is equivalent to :
xxxxx.isOfType(ValueType.UUID);- Specified by:
isUUIDin interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isNull
Verifies that the value isnull.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableisnull:assertThat(table).row().value().isNull();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeisnull:assertThat(changes).change().rowAtEndPoint().value().isNull();- Specified by:
isNullin interfaceAssertOnValueNullity<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isNotNull
Verifies that the value is notnull.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis notnull:assertThat(table).row().value().isNotNull();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis notnull:assertThat(changes).change().rowAtEndPoint().value().isNotNull();- Specified by:
isNotNullin interfaceAssertOnValueNullity<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a boolean.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to french Locale :assertThat(table).row().value().isEqualTo(Locale.FRENCH);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to french Locale :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(Locale.FRENCH);- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected object value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a boolean.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to true boolean :assertThat(table).row().value().isEqualTo(true);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to true boolean :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(true);- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected boolean value.- Returns:
thisassertion object.- See Also:
-
isTrue
Verifies that the value is equal to true boolean.Example with the value in the first
Columnof the firstRowof theTable:assertThat(table).row().value().isTrue();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChange:assertThat(changes).change().rowAtEndPoint().value().isTrue();- Specified by:
isTruein interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isFalse
Verifies that the value is equal to false boolean.Example with the value in the first
Columnof the firstRowof theTable:assertThat(table).row().value().isFalse();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChange:assertThat(changes).change().rowAtEndPoint().value().isFalse();- Specified by:
isFalsein interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to number 3 :assertThat(table).row().value().isEqualTo(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(3);- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a array of bytes.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a array of bytes loaded from a file in the classpath :byte[] bytes = bytesContentFromClassPathOf("file.png"); assertThat(table).row().value().isEqualTo(bytes);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a array of bytes loaded from a file in the classpath :byte[] bytes = bytesContentFromClassPathOf("file.png"); assertThat(changes).change().rowAtEndPoint().value().isEqualTo(bytes);- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected array of bytes value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a text.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a text :assertThat(table).row().value().isEqualTo("text");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a text :assertThat(changes).change().rowAtEndPoint().value().isEqualTo("text");- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected text value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a character.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a character :assertThat(table).row().value().isEqualTo('c');Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a character :assertThat(changes).change().rowAtEndPoint().value().isEqualTo('c');- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected character value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to an UUID.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to an UUID :assertThat(table).row().value().isEqualTo(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 equal to an UUID :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected UUID value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a date value :assertThat(table).row().value().isEqualTo(DateValue.of(2014, 7, 7));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateValue.of(2014, 7, 7));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a time value :assertThat(table).row().value().isEqualTo(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(TimeValue.of(21, 29, 30));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected time value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a date/time value :assertThat(table).row().value().isEqualTo(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 equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a date value :assertThat(table).row().value().isEqualTo(LocalDate.of(2014, 7, 7));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDate.of(2014, 7, 7));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a time value :assertThat(table).row().value().isEqualTo(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalTime.of(21, 29, 30));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected time value.- Returns:
thisassertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to a date/time value :assertThat(table).row().value().isEqualTo(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 equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));- Specified by:
isEqualToin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- See Also:
-
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);- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected object value.- Returns:
thisassertion object.- 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);- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected boolean value.- Returns:
thisassertion object.- 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);- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected array of bytes value.- Returns:
thisassertion object.- 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)));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- 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));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.- Returns:
thisassertion object.- 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);- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- 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");- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected text value.- Returns:
thisassertion object.- 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');- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected character value.- Returns:
thisassertion object.- 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"));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected UUID value.- Returns:
thisassertion object.- 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));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected time value.- Returns:
thisassertion object.- 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));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.- Returns:
thisassertion object.- 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));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected time value.- Returns:
thisassertion object.- 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));- Specified by:
isNotEqualToin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a date value :assertThat(table).row().value().isBefore(DateValue.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a date value :assertThat(changes).change().rowAtEndPoint().value().isBefore(DateValue.of(2007, 12, 23));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a time value :assertThat(table).row().value().isBefore(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(TimeValue.of(21, 29, 30));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a date/time value :assertThat(table).row().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a date value :assertThat(table).row().value().isBefore(LocalDate.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a date value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDate.of(2007, 12, 23));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a time value :assertThat(table).row().value().isBefore(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalTime.of(21, 29, 30));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a date/time value :assertThat(table).row().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBefore
Verifies that the value is before a date, time or date/time represented by aString.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before a date represented by aString:assertThat(table).row().value().isBefore("2007-12-23");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before a date represented by aString:assertThat(changes).change().rowAtEndPoint().value().isBefore("2007-12-23");- Specified by:
isBeforein interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- TheStringrepresenting a date, time or date/time to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a date value :assertThat(table).row().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a time value :assertThat(table).row().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a date/time value :assertThat(table).row().value().isBeforeOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a date value :assertThat(table).row().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a time value :assertThat(table).row().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a date/time value :assertThat(table).row().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isBeforeOrEqualTo
Verifies that the value is before or equal to a date, time or date/time represented by aString.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis before or equal to a date represented by aString:assertThat(table).row().value().isBeforeOrEqualTo("2007-12-23");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis before or equal to a date represented by aString:assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo("2007-12-23");- Specified by:
isBeforeOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- TheStringrepresenting a date, time or date/time to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a date value :assertThat(table).row().value().isAfter(DateValue.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a date value :assertThat(changes).change().rowAtEndPoint().value().isAfter(DateValue.of(2007, 12, 23));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a time value :assertThat(table).row().value().isAfter(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(TimeValue.of(21, 29, 30));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a date/time value :assertThat(table).row().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a date value :assertThat(table).row().value().isAfter(LocalDate.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a date value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDate.of(2007, 12, 23));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a time value :assertThat(table).row().value().isAfter(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalTime.of(21, 29, 30));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a date/time value :assertThat(table).row().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfter
Verifies that the value is after a date, time or date/time represented by aString.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after a date represented by aString:assertThat(table).row().value().isAfter("2007-12-23");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after a date represented by aString:assertThat(changes).change().rowAtEndPoint().value().isAfter("2007-12-23");- Specified by:
isAfterin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- TheStringrepresenting a date, time or date/time to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a date value :assertThat(table).row().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a time value :assertThat(table).row().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a date/time value :assertThat(table).row().value().isAfterOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a date value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a date value :assertThat(table).row().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
date- The date value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a time value :assertThat(table).row().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
time- The time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a date/time value.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a date/time value :assertThat(table).row().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
dateTime- The date/time value to compare to.- Returns:
thisassertion object.- See Also:
-
isAfterOrEqualTo
Verifies that the value is after or equal to a date, time or date/time represented by aString.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis after or equal to a date represented by aString:assertThat(table).row().value().isAfterOrEqualTo("2007-12-23");Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis after or equal to a date represented by aString:assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo("2007-12-23");- Specified by:
isAfterOrEqualToin interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- TheStringrepresenting a date, time or date/time to compare to.- Returns:
thisassertion object.- See Also:
-
isZero
Verifies that the value is equal to zero.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis equal to zero :assertThat(table).row().value().isZero();Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis equal to zero :assertThat(changes).change().rowAtEndPoint().value().isZero();- Specified by:
isZeroin interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
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();- Specified by:
isNotZeroin interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,O>> - Returns:
thisassertion object.- See Also:
-
isGreaterThan
Verifies that the value is greater than a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis greater than number 3 :assertThat(table).row().value().isGreaterThan(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis greater than number 3 :assertThat(changes).change().rowAtEndPoint().value().isGreaterThan(3);- Specified by:
isGreaterThanin interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- See Also:
-
isLessThan
Verifies that the value is less than a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis less than number 3 :assertThat(table).row().value().isLessThan(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis less than number 3 :assertThat(changes).change().rowAtEndPoint().value().isLessThan(3);- Specified by:
isLessThanin interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- See Also:
-
isGreaterThanOrEqualTo
Verifies that the value is greater than or equal to a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis greater than or equal to number 3 :assertThat(table).row().value().isGreaterThanOrEqual(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis greater than or equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isGreaterThanOrEqual(3);- Specified by:
isGreaterThanOrEqualToin interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- See Also:
-
isLessThanOrEqualTo
Verifies that the value is less than or equal to a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis less than or equal to number 3 :assertThat(table).row().value().isLessThanOrEqual(3);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis less than or equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isLessThanOrEqual(3);- Specified by:
isLessThanOrEqualToin interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a number.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to number 3 with a tolerance of 1 (that means that all the numbers between 2 and 4 included are close enough) :assertThat(table).row().value().isCloseTo(3, 1);Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to number 3 with a tolerance of 0.75 :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(3, 0.75);- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected number value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date value with a tolerance of 2 days :assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7), DateValue.of(0, 0, 2));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date value with a tolerance of 2 days :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7), DateValue.of(0, 0, 2));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date value with a tolerance of 1 hour :assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7), TimeValue.of(1, 0));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date value with a tolerance of 1 hour :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7), TimeValue.of(1, 0));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date value with a tolerance of 2 days and 1 hour :assertThat(table).row().value().isCloseTo(DateValue.of(2014, 7, 7), DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date value with a tolerance of 2 days and 1 hour :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(DateValue.of(2014, 7, 7), DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a time value with a tolerance of 1 hour :assertThat(table).row().value().isCloseTo(TimeValue.of(21, 29, 30), TimeValue.of(1, 0));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a time value with a tolerance of 1 hour :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(TimeValue.of(21, 29, 30), TimeValue.of(1, 0));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected time value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date/time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date/time value with a tolerance of 2 days :assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), DateValue.of(0, 0, 2));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date/time value with a tolerance of 2 days :assertThat(changes).change().rowAtEndPoint().value().isCloseTo( DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), DateValue.of(0, 0, 2));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date/time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date/time value with a tolerance of 1 hour :assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), TimeValue.of(1, 0));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date/time value with a tolerance of 1 hour :assertThat(changes).change().rowAtEndPoint().value().isCloseTo( DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), TimeValue.of(1, 0));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date/time.Example where the assertion verifies that the value in the first
Columnof the firstRowof theTableis close to a date/time value with a tolerance of 2 days and 1 hour :assertThat(table).row().value().isCloseTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));Example where the assertion verifies that the value in the first
Columnof theRowat end point of the firstChangeis close to a date/time value with a tolerance of 2 days and 1 hour :assertThat(changes).change().rowAtEndPoint().value().isCloseTo( DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29, 30)), DateTimeValue.of(DateValue.of(0, 0, 2), TimeValue.of(1, 0)));- Specified by:
isCloseToin interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,O>> - Parameters:
expected- The expected date/time value.tolerance- The tolerance of the closeness.- Returns:
thisassertion object.- See Also:
-
is
Verifies that the actual value satisfies the given condition.- Specified by:
isin interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,O>> - Parameters:
condition- the given condition.- Returns:
thisassertion object.- See Also:
-
isNot
Verifies that the actual value does not satisfy the given condition.- Specified by:
isNotin interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,O>> - Parameters:
condition- the given condition.- Returns:
thisassertion object.- See Also:
-
has
Verifies that the actual value satisfies the given condition. This method is an alias for.AssertOnValueCondition.is(Condition)- Specified by:
hasin interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,O>> - Parameters:
condition- the given condition.- Returns:
thisassertion object.- See Also:
-
doesNotHave
Verifies that the actual value does not satisfy the given condition. This method is an alias for.AssertOnValueCondition.isNot(Condition)- Specified by:
doesNotHavein interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,O>> - Parameters:
condition- the given condition.- Returns:
thisassertion object.- See Also:
-
satisfies
Verifies that the actual value satisfies the given condition. This method is an alias for.AssertOnValueCondition.is(Condition)- Specified by:
satisfiesin interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,O>> - Parameters:
condition- the given condition.- Returns:
thisassertion object.- See Also:
-