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 Value
The actual value on which the assertion is.Fields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
origin
Fields 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, rowAtStartPoint
Methods 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, onTable
Methods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOrigin
Methods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
Column
called "title" of the secondRow
of theTable
is of classString
:assertThat(table).row(1).value("title").isOfClass(String.class);
Example where the assertion verifies that the value in the
Column
called "title" of theRow
at end point of the firstChange
is of classString
:assertThat(changes).change().rowAtEndPoint().value("title").isOfClass(String.class);
- Specified by:
isOfClass
in interfaceAssertOnValueClass<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected class to compare to.- Returns:
this
assertion 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
Column
called "title" of the secondRow
of theTable
is of typeTEXT
:assertThat(table).row(1).value("title").isOfType(ValueType.TEXT);
Example where the assertion verifies that the value in the
Column
called "title" of theRow
at end point of the firstChange
is of typeTEXT
:assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT);
- Specified by:
isOfType
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected type to compare to.- Returns:
this
assertion 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
Column
called "title" of the secondRow
of theTable
is of typeTEXT
or of typeNUMBER
:assertThat(table).row(1).value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);
Example where the assertion verifies that the value in the
Column
called "title" of theRow
at end point of the firstChange
is of typeTEXT
or of typeNUMBER
:assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);
- Specified by:
isOfAnyTypeIn
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected types to compare to.- Returns:
this
assertion object.- See Also:
-
isNumber
Verifies that the value is a number.Example where the assertion verifies that the value in the
Column
called "year" of the firstRow
of theTable
is a number :assertThat(table).row().value("year").isNumber();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a number :assertThat(changes).change().rowAtEndPoint().value().isNumber();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.NUMBER);
- Specified by:
isNumber
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isBoolean
Verifies that the value is a boolean.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is a boolean :assertThat(table).row().value().isBoolean();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a boolean :assertThat(changes).change().rowAtEndPoint().value().isBoolean();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BOOLEAN);
- Specified by:
isBoolean
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isDate
Verifies that the value is a date.Example where the assertion verifies that the value in the
Column
called "birth" of the firstRow
of theTable
is a date :assertThat(table).row().value("birth").isDate();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a date :assertThat(changes).change().rowAtEndPoint().value().isDate();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE);
- Specified by:
isDate
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isTime
Verifies that the value is a time.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is a time :assertThat(table).row().value().isTime();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a time :assertThat(changes).change().rowAtEndPoint().value().isTime();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TIME);
- Specified by:
isTime
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isDateTime
Verifies that the value is a date/time.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is a date/time :assertThat(table).row().value().isDateTime();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a date/time :assertThat(changes).change().rowAtEndPoint().value().isDateTime();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE_TIME);
- Specified by:
isDateTime
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isBytes
Verifies that the value is a array of bytes.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is a array of bytes :assertThat(table).row().value().isBytes();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a array of bytes :assertThat(changes).change().rowAtEndPoint().value().isBytes();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BYTES);
- Specified by:
isBytes
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isText
Verifies that the value is a text.Example where the assertion verifies that the value in the
Column
called "title" of the firstRow
of theTable
is a text :assertThat(table).row().value("title").isText();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is a text :assertThat(changes).change().rowAtEndPoint().value().isText();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TEXT);
- Specified by:
isText
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isUUID
Verifies that the value is an UUID.Example where the assertion verifies that the value in the
Column
called id of the firstRow
of theTable
is an UUID :assertThat(table).row().value("id").isUUID();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is an UUID :assertThat(changes).change().rowAtEndPoint().value().isUUID();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.UUID);
- Specified by:
isUUID
in interfaceAssertOnValueType<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isNull
Verifies that the value isnull
.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
isnull
:assertThat(table).row().value().isNull();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
isnull
:assertThat(changes).change().rowAtEndPoint().value().isNull();
- Specified by:
isNull
in interfaceAssertOnValueNullity<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isNotNull
Verifies that the value is notnull
.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is notnull
:assertThat(table).row().value().isNotNull();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is notnull
:assertThat(changes).change().rowAtEndPoint().value().isNotNull();
- Specified by:
isNotNull
in interfaceAssertOnValueNullity<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a boolean.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to french Locale :assertThat(table).row().value().isEqualTo(Locale.FRENCH);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to french Locale :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(Locale.FRENCH);
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected object value.- Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a boolean.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to true boolean :assertThat(table).row().value().isEqualTo(true);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to true boolean :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(true);
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected boolean value.- Returns:
this
assertion object.- See Also:
-
isTrue
Verifies that the value is equal to true boolean.Example with the value in the first
Column
of the firstRow
of theTable
:assertThat(table).row().value().isTrue();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
:assertThat(changes).change().rowAtEndPoint().value().isTrue();
- Specified by:
isTrue
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isFalse
Verifies that the value is equal to false boolean.Example with the value in the first
Column
of the firstRow
of theTable
:assertThat(table).row().value().isFalse();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
:assertThat(changes).change().rowAtEndPoint().value().isFalse();
- Specified by:
isFalse
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a number.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to number 3 :assertThat(table).row().value().isEqualTo(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(3);
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected array of bytes value.- Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a text.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to a text :assertThat(table).row().value().isEqualTo("text");
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to a text :assertThat(changes).change().rowAtEndPoint().value().isEqualTo("text");
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected text value.- Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to a character.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to a character :assertThat(table).row().value().isEqualTo('c');
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to a character :assertThat(changes).change().rowAtEndPoint().value().isEqualTo('c');
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected character value.- Returns:
this
assertion object.- See Also:
-
isEqualTo
Verifies that the value is equal to an UUID.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to an UUID :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected UUID value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateValue.of(2014, 7, 7));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(TimeValue.of(21, 29, 30));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDate.of(2014, 7, 7));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalTime.of(21, 29, 30));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
- Specified by:
isEqualTo
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is not equal to true french Locale :assertThat(table).row().value().isNotEqualTo(Locale.FRENCH);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to french Locale :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(Locale.FRENCH);
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected object value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is not equal to true boolean :assertThat(table).row().value().isNotEqualTo(true);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to true boolean :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(true);
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected boolean value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected array of bytes value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateValue.of(2014, 7, 7));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is not equal to number 3 :assertThat(table).row().value().isNotEqualTo(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(3);
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is not equal to a text :assertThat(table).row().value().isNotEqualTo("text");
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to a text :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo("text");
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected text value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is not equal to a character :assertThat(table).row().value().isNotEqualTo('c');
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to a character :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo('c');
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected character value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to an UUID :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected UUID value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(TimeValue.of(21, 29, 30));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDate.of(2014, 7, 7));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalTime.of(21, 29, 30));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected time value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is not equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
- Specified by:
isNotEqualTo
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.- Returns:
this
assertion object.- See Also:
-
isBefore
Verifies that the value is before a date value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a date value :assertThat(changes).change().rowAtEndPoint().value().isBefore(DateValue.of(2007, 12, 23));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion object.- See Also:
-
isBefore
Verifies that the value is before a time value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(TimeValue.of(21, 29, 30));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion object.- See Also:
-
isBefore
Verifies that the value is before a date value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a date value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDate.of(2007, 12, 23));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion object.- See Also:
-
isBefore
Verifies that the value is before a time value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalTime.of(21, 29, 30));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before a date represented by aString
:assertThat(changes).change().rowAtEndPoint().value().isBefore("2007-12-23");
- Specified by:
isBefore
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- TheString
representing a date, time or date/time to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is before or equal to a date represented by aString
:assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo("2007-12-23");
- Specified by:
isBeforeOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- TheString
representing a date, time or date/time to compare to.- Returns:
this
assertion object.- See Also:
-
isAfter
Verifies that the value is after a date value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a date value :assertThat(changes).change().rowAtEndPoint().value().isAfter(DateValue.of(2007, 12, 23));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion object.- See Also:
-
isAfter
Verifies that the value is after a time value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(TimeValue.of(21, 29, 30));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion object.- See Also:
-
isAfter
Verifies that the value is after a date value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a date value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDate.of(2007, 12, 23));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion object.- See Also:
-
isAfter
Verifies that the value is after a time value.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalTime.of(21, 29, 30));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after a date represented by aString
:assertThat(changes).change().rowAtEndPoint().value().isAfter("2007-12-23");
- Specified by:
isAfter
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- TheString
representing a date, time or date/time to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a date value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
date
- The date value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
time
- The time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a date/time value :assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
dateTime
- The date/time value to compare to.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is after or equal to a date represented by aString
:assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo("2007-12-23");
- Specified by:
isAfterOrEqualTo
in interfaceAssertOnValueChronology<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- TheString
representing a date, time or date/time to compare to.- Returns:
this
assertion object.- See Also:
-
isZero
Verifies that the value is equal to zero.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is equal to zero :assertThat(table).row().value().isZero();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is equal to zero :assertThat(changes).change().rowAtEndPoint().value().isZero();
- Specified by:
isZero
in interfaceAssertOnValueEquality<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isNotZero
Verifies that the value is not equal to zero.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is not equal to zero :assertThat(table).row().value().isNotZero();
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is not equal to zero :assertThat(changes).change().rowAtEndPoint().value().isNotZero();
- Specified by:
isNotZero
in interfaceAssertOnValueInequality<E extends AbstractAssertWithValues<E,
O>> - Returns:
this
assertion object.- See Also:
-
isGreaterThan
Verifies that the value is greater than a number.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is greater than number 3 :assertThat(table).row().value().isGreaterThan(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is greater than number 3 :assertThat(changes).change().rowAtEndPoint().value().isGreaterThan(3);
- Specified by:
isGreaterThan
in interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion object.- See Also:
-
isLessThan
Verifies that the value is less than a number.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is less than number 3 :assertThat(table).row().value().isLessThan(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is less than number 3 :assertThat(changes).change().rowAtEndPoint().value().isLessThan(3);
- Specified by:
isLessThan
in interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is greater than or equal to number 3 :assertThat(table).row().value().isGreaterThanOrEqual(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is greater than or equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isGreaterThanOrEqual(3);
- Specified by:
isGreaterThanOrEqualTo
in interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is less than or equal to number 3 :assertThat(table).row().value().isLessThanOrEqual(3);
Example where the assertion verifies that the value in the first
Column
of theRow
at end point of the firstChange
is less than or equal to number 3 :assertThat(changes).change().rowAtEndPoint().value().isLessThanOrEqual(3);
- Specified by:
isLessThanOrEqualTo
in interfaceAssertOnValueComparison<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.- Returns:
this
assertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a number.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is close to number 3 with a tolerance of 0.75 :assertThat(changes).change().rowAtEndPoint().value().isCloseTo(3, 0.75);
- Specified by:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected number value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a date.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion object.- See Also:
-
isCloseTo
Verifies that the value is close to a time.Example where the assertion verifies that the value in the first
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected time value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion 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
Column
of the firstRow
of theTable
is 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
Column
of theRow
at end point of the firstChange
is 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:
isCloseTo
in interfaceAssertOnValueCloseness<E extends AbstractAssertWithValues<E,
O>> - Parameters:
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.- Returns:
this
assertion object.- See Also:
-
is
Verifies that the actual value satisfies the given condition.- Specified by:
is
in interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,
O>> - Parameters:
condition
- the given condition.- Returns:
this
assertion object.- See Also:
-
isNot
Verifies that the actual value does not satisfy the given condition.- Specified by:
isNot
in interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,
O>> - Parameters:
condition
- the given condition.- Returns:
this
assertion object.- See Also:
-
has
Verifies that the actual value satisfies the given condition. This method is an alias for
.AssertOnValueCondition.is(Condition)
- Specified by:
has
in interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,
O>> - Parameters:
condition
- the given condition.- Returns:
this
assertion 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:
doesNotHave
in interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,
O>> - Parameters:
condition
- the given condition.- Returns:
this
assertion object.- See Also:
-
satisfies
Verifies that the actual value satisfies the given condition. This method is an alias for
.AssertOnValueCondition.is(Condition)
- Specified by:
satisfies
in interfaceAssertOnValueCondition<E extends AbstractAssertWithValues<E,
O>> - Parameters:
condition
- the given condition.- Returns:
this
assertion object.- See Also:
-