Class AbstractValueAssert<D extends AbstractDbData<D>,A extends AbstractDbAssert<D,A,C,CV,R,RV>,S extends AbstractSubAssert<D,A,S,V,C,CV,R,RV>,V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>,C extends AbstractColumnAssert<D,A,C,CV,R,RV>,CV extends AbstractColumnValueAssert<D,A,C,CV,R,RV>,R extends AbstractRowAssert<D,A,C,CV,R,RV>,RV extends AbstractRowValueAssert<D,A,C,CV,R,RV>>
- Type Parameters:
D
- The class of the actual value (an sub-class ofAbstractDbData
).A
- The class of the original assertion (an sub-class ofAbstractDbAssert
).S
- The class of which contains assertion methods aboutColumn
orRow
(an sub-class ofAbstractSubAssert
).V
- The class of this assertion (an sub-class ofAbstractValueAssert
).C
- The class of this assertion (an sub-class ofAbstractColumnAssert
).CV
- The class of this assertion on the value (an sub-class ofAbstractColumnValueAssert
).R
- The class of the equivalent row assertion (an sub-class ofAbstractRowAssert
).RV
- The class of the equivalent row assertion on the value (an sub-class ofAbstractRowValueAssert
).
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<V>
,AssertOnValueChronology<V>
,AssertOnValueClass<V>
,AssertOnValueCloseness<V>
,AssertOnValueComparison<V>
,AssertOnValueCondition<V>
,AssertOnValueEquality<V>
,AssertOnValueInequality<V>
,AssertOnValueNullity<V>
,AssertOnValueType<V>
,Element
,ValueElement
,Navigation
,ToColumn<C>
,ToRow<R>
,ToValue<V>
- Direct Known Subclasses:
AbstractColumnValueAssert
,AbstractRowValueAssert
- Author:
- Régis Pouiller, Otoniel Isidoro, Julien Roy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Value
The actual value on which this 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.value()
Returns assertion methods on the next value in the list of values.value
(int index) Returns assertion methods on the value at theindex
in parameter.Methods inherited from class org.assertj.db.api.AbstractAssertWithOriginWithColumnsAndRows
column, column, column, row, row
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 this assertion is.
-
-
Method Details
-
value
Returns assertion methods on the next value in the list of values.- Specified by:
value
in interfaceToValue<D extends AbstractDbData<D>>
- Returns:
- An object to make assertions on the next value.
- See Also:
-
value
Returns assertion methods on the value at theindex
in parameter.- Specified by:
value
in interfaceToValue<D extends AbstractDbData<D>>
- Parameters:
index
- The index corresponding to the value.- Returns:
- An object to make assertions on the value.
- See Also:
-
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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- 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<D extends AbstractDbData<D>>
- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- See Also:
-