D
- The class of the actual value (an sub-class of AbstractDbData
).A
- The class of the original assertion (an sub-class of AbstractDbAssert
).S
- The class of which contains assertion methods about Column
or Row
(an sub-class of
AbstractSubAssert
).V
- The class of this assertion (an sub-class of AbstractValueAssert
).C
- The class of this assertion (an sub-class of AbstractColumnAssert
).CV
- The class of this assertion on the value (an sub-class of AbstractColumnValueAssert
).R
- The class of the equivalent row assertion (an sub-class of AbstractRowAssert
).RV
- The class of the equivalent row assertion on the value (an sub-class of AbstractRowValueAssert
).public abstract 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>> extends AbstractAssertWithOriginWithColumnsAndRows<V,S,D,A,C,CV,R,RV> implements ValueElement, ToValue<V>, AssertOnValueClass<V>, AssertOnValueType<V>, AssertOnValueNullity<V>, AssertOnValueEquality<V>, AssertOnValueInequality<V>, AssertOnValueChronology<V>, AssertOnValueComparison<V>, AssertOnValueCloseness<V>, AssertOnValueCondition<V>
Modifier and Type | Field and Description |
---|---|
protected Value |
value
The actual value on which this assertion is.
|
origin
info, myself
Modifier and Type | Method and Description |
---|---|
V |
doesNotHave(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value does not satisfy the given condition.
|
V |
has(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
V |
is(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
V |
isAfter(DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
V |
isAfter(DateValue date)
Verifies that the value is after a date value.
|
V |
isAfter(LocalDate date)
Verifies that the value is after a date value.
|
V |
isAfter(LocalDateTime dateTime)
Verifies that the value is after a date/time value.
|
V |
isAfter(LocalTime time)
Verifies that the value is after a time value.
|
V |
isAfter(String expected)
Verifies that the value is after a date, time or date/time represented by a
String . |
V |
isAfter(TimeValue time)
Verifies that the value is after a time value.
|
V |
isAfterOrEqualTo(DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
V |
isAfterOrEqualTo(DateValue date)
Verifies that the value is after or equal to a date value.
|
V |
isAfterOrEqualTo(LocalDate date)
Verifies that the value is after or equal to a date value.
|
V |
isAfterOrEqualTo(LocalDateTime dateTime)
Verifies that the value is after or equal to a date/time value.
|
V |
isAfterOrEqualTo(LocalTime time)
Verifies that the value is after or equal to a time value.
|
V |
isAfterOrEqualTo(String expected)
Verifies that the value is after or equal to a date, time or date/time represented by a
String . |
V |
isAfterOrEqualTo(TimeValue time)
Verifies that the value is after or equal to a time value.
|
V |
isBefore(DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
V |
isBefore(DateValue date)
Verifies that the value is before a date value.
|
V |
isBefore(LocalDate date)
Verifies that the value is before a date value.
|
V |
isBefore(LocalDateTime dateTime)
Verifies that the value is before a date/time value.
|
V |
isBefore(LocalTime time)
Verifies that the value is before a time value.
|
V |
isBefore(String expected)
Verifies that the value is before a date, time or date/time represented by a
String . |
V |
isBefore(TimeValue time)
Verifies that the value is before a time value.
|
V |
isBeforeOrEqualTo(DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
V |
isBeforeOrEqualTo(DateValue date)
Verifies that the value is before or equal to a date value.
|
V |
isBeforeOrEqualTo(LocalDate date)
Verifies that the value is before or equal to a date value.
|
V |
isBeforeOrEqualTo(LocalDateTime dateTime)
Verifies that the value is before or equal to a date/time value.
|
V |
isBeforeOrEqualTo(LocalTime time)
Verifies that the value is before or equal to a time value.
|
V |
isBeforeOrEqualTo(String expected)
Verifies that the value is before or equal to a date, time or date/time represented by a
String . |
V |
isBeforeOrEqualTo(TimeValue time)
Verifies that the value is before or equal to a time value.
|
V |
isBoolean()
Verifies that the value is a boolean.
|
V |
isBytes()
Verifies that the value is a array of bytes.
|
V |
isCloseTo(DateTimeValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date/time.
|
V |
isCloseTo(DateTimeValue expected,
DateValue tolerance)
Verifies that the value is close to a date/time.
|
V |
isCloseTo(DateTimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a date/time.
|
V |
isCloseTo(DateValue expected,
DateTimeValue tolerance)
Verifies that the value is close to a date.
|
V |
isCloseTo(DateValue expected,
DateValue tolerance)
Verifies that the value is close to a date.
|
V |
isCloseTo(DateValue expected,
TimeValue tolerance)
Verifies that the value is close to a date.
|
V |
isCloseTo(Number expected,
Number tolerance)
Verifies that the value is close to a number.
|
V |
isCloseTo(TimeValue expected,
TimeValue tolerance)
Verifies that the value is close to a time.
|
V |
isDate()
Verifies that the value is a date.
|
V |
isDateTime()
Verifies that the value is a date/time.
|
V |
isEqualTo(Boolean expected)
Verifies that the value is equal to a boolean.
|
V |
isEqualTo(byte[] expected)
Verifies that the value is equal to a array of bytes.
|
V |
isEqualTo(Character expected)
Verifies that the value is equal to a character.
|
V |
isEqualTo(DateTimeValue expected)
Verifies that the value is equal to a date/time value.
|
V |
isEqualTo(DateValue expected)
Verifies that the value is equal to a date value.
|
V |
isEqualTo(LocalDate expected)
Verifies that the value is equal to a date value.
|
V |
isEqualTo(LocalDateTime expected)
Verifies that the value is equal to a date/time value.
|
V |
isEqualTo(LocalTime expected)
Verifies that the value is equal to a time value.
|
V |
isEqualTo(Number expected)
Verifies that the value is equal to a number.
|
V |
isEqualTo(Object expected)
Verifies that the value is equal to a boolean.
|
V |
isEqualTo(String expected)
Verifies that the value is equal to a text.
|
V |
isEqualTo(TimeValue expected)
Verifies that the value is equal to a time value.
|
V |
isEqualTo(UUID expected)
Verifies that the value is equal to an UUID.
|
V |
isFalse()
Verifies that the value is equal to false boolean.
|
V |
isGreaterThan(Number expected)
Verifies that the value is greater than a number.
|
V |
isGreaterThanOrEqualTo(Number expected)
Verifies that the value is greater than or equal to a number.
|
V |
isLessThan(Number expected)
Verifies that the value is less than a number.
|
V |
isLessThanOrEqualTo(Number expected)
Verifies that the value is less than or equal to a number.
|
V |
isNot(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value does not satisfy the given condition.
|
V |
isNotEqualTo(Boolean expected)
Verifies that the value is not equal to a boolean.
|
V |
isNotEqualTo(byte[] expected)
Verifies that the value is not equal to a array of bytes.
|
V |
isNotEqualTo(Character expected)
Verifies that the value is not equal to a character.
|
V |
isNotEqualTo(DateTimeValue expected)
Verifies that the value is not equal to a date/time value.
|
V |
isNotEqualTo(DateValue expected)
Verifies that the value is not equal to a date value.
|
V |
isNotEqualTo(LocalDate expected)
Verifies that the value is not equal to a date value.
|
V |
isNotEqualTo(LocalDateTime expected)
Verifies that the value is not equal to a date/time value.
|
V |
isNotEqualTo(LocalTime expected)
Verifies that the value is not equal to a time value.
|
V |
isNotEqualTo(Number expected)
Verifies that the value is not equal to a number.
|
V |
isNotEqualTo(Object expected)
Verifies that the value is not equal to a object.
|
V |
isNotEqualTo(String expected)
Verifies that the value is not equal to a text.
|
V |
isNotEqualTo(TimeValue expected)
Verifies that the value is not equal to a time value.
|
V |
isNotEqualTo(UUID expected)
Verifies that the value is not equal to an UUID.
|
V |
isNotNull()
Verifies that the value is not
null . |
V |
isNotZero()
Verifies that the value is not equal to zero.
|
V |
isNull()
Verifies that the value is
null . |
V |
isNumber()
Verifies that the value is a number.
|
V |
isOfAnyTypeIn(ValueType... expected)
Verifies that the type of the value is equal to one of the types in parameters.
|
V |
isOfClass(Class<?> expected)
Verifies that the class of the value is equal to the class in parameter.
|
V |
isOfType(ValueType expected)
Verifies that the type of the value is equal to the type in parameter.
|
V |
isText()
Verifies that the value is a text.
|
V |
isTime()
Verifies that the value is a time.
|
V |
isTrue()
Verifies that the value is equal to true boolean.
|
V |
isUUID()
Verifies that the value is an UUID.
|
V |
isZero()
Verifies that the value is equal to zero.
|
V |
satisfies(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
V |
value()
Returns assertion methods on the next value in the list of values.
|
V |
value(int index)
Returns assertion methods on the value at the
index in parameter. |
column, column, column, row, row
returnToOrigin
as, as, describedAs, describedAs, getInfo
protected final Value value
public V value()
value
in interface ToValue<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
AbstractSubAssert.value()
,
value()
,
AbstractSubAssert.value()
,
value()
,
ChangeRowAssert.value()
,
ChangeRowValueAssert.value()
public V value(int index)
index
in parameter.value
in interface ToValue<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
index
- The index corresponding to the value.AbstractSubAssert.value(int)
,
value(int)
,
AbstractSubAssert.value(int)
,
value(int)
,
ChangeRowAssert.value(int)
,
ChangeRowValueAssert.value(int)
public V isOfClass(Class<?> expected)
Example where the assertion verifies that the value in the Column
called "title" of the second Row
of the Table
is of class String
:
assertThat(table).row(1).value("title").isOfClass(String.class);
Example where the assertion verifies that the value in the Column
called "title" of the Row
at end point
of the first Change
is of class String
:
assertThat(changes).change().rowAtEndPoint().value("title").isOfClass(String.class);
isOfClass
in interface AssertOnValueClass<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected class to compare to.this
assertion object.isOfClass(Class)
,
AbstractAssertWithValues.isOfClass(Class)
public V isOfType(ValueType expected)
Example where the assertion verifies that the value in the Column
called "title" of the second Row
of the Table
is of type TEXT
:
assertThat(table).row(1).value("title").isOfType(ValueType.TEXT);
Example where the assertion verifies that the value in the Column
called "title" of the Row
at end point
of the first Change
is of type TEXT
:
assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT);
isOfType
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected type to compare to.this
assertion object.isOfType(org.assertj.db.type.ValueType)
,
AbstractAssertWithValues.isOfType(org.assertj.db.type.ValueType)
public V isOfAnyTypeIn(ValueType... expected)
Example where the assertion verifies that the value in the Column
called "title" of the second Row
of the Table
is of type TEXT
or of type NUMBER
:
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 the Row
at end point
of the first Change
is of type TEXT
or of type NUMBER
:
assertThat(changes).change().rowAtEndPoint().value("title").isOfType(ValueType.TEXT, ValueType.NUMBER);
isOfAnyTypeIn
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected types to compare to.this
assertion object.isOfAnyTypeIn(org.assertj.db.type.ValueType...)
,
AbstractAssertWithValues.isOfAnyTypeIn(org.assertj.db.type.ValueType...)
public V isNumber()
Example where the assertion verifies that the value in the Column
called "year" of the first Row
of
the Table
is a number :
assertThat(table).row().value("year").isNumber();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a number :
assertThat(changes).change().rowAtEndPoint().value().isNumber();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.NUMBER);
isNumber
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.NUMBER
,
isNumber()
,
AbstractAssertWithValues.isNumber()
public V isBoolean()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is a boolean :
assertThat(table).row().value().isBoolean();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a boolean :
assertThat(changes).change().rowAtEndPoint().value().isBoolean();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BOOLEAN);
isBoolean
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.BOOLEAN
,
isBoolean()
,
AbstractAssertWithValues.isBoolean()
public V isDate()
Example where the assertion verifies that the value in the Column
called "birth" of the first Row
of the Table
is a date :
assertThat(table).row().value("birth").isDate();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a date :
assertThat(changes).change().rowAtEndPoint().value().isDate();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE);
isDate
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.DATE
,
isDate()
,
AbstractAssertWithValues.isDate()
public V isTime()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is a time :
assertThat(table).row().value().isTime();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a time :
assertThat(changes).change().rowAtEndPoint().value().isTime();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TIME);
isTime
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.TIME
,
isTime()
,
AbstractAssertWithValues.isTime()
public V isDateTime()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is a date/time :
assertThat(table).row().value().isDateTime();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a date/time :
assertThat(changes).change().rowAtEndPoint().value().isDateTime();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.DATE_TIME);
isDateTime
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.DATE_TIME
,
isDateTime()
,
AbstractAssertWithValues.isDateTime()
public V isBytes()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is a array of bytes :
assertThat(table).row().value().isBytes();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a array of bytes :
assertThat(changes).change().rowAtEndPoint().value().isBytes();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.BYTES);
isBytes
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.BYTES
,
isBytes()
,
AbstractAssertWithValues.isBytes()
public V isText()
Example where the assertion verifies that the value in the Column
called "title" of the first Row
of the Table
is a text :
assertThat(table).row().value("title").isText();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is a text :
assertThat(changes).change().rowAtEndPoint().value().isText();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.TEXT);
isText
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.TEXT
,
isText()
,
AbstractAssertWithValues.isText()
public V isUUID()
Example where the assertion verifies that the value in the Column
called id of the first Row
of the Table
is an UUID :
assertThat(table).row().value("id").isUUID();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is an UUID :
assertThat(changes).change().rowAtEndPoint().value().isUUID();
This assertion method is equivalent to :
xxxxx.isOfType(ValueType.UUID);
isUUID
in interface AssertOnValueType<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.ValueType.UUID
,
isUUID()
,
AbstractAssertWithValues.isUUID()
public V isNull()
null
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is null
:
assertThat(table).row().value().isNull();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is null
:
assertThat(changes).change().rowAtEndPoint().value().isNull();
isNull
in interface AssertOnValueNullity<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isNull()
,
AbstractAssertWithValues.isNull()
public V isNotNull()
null
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is not null
:
assertThat(table).row().value().isNotNull();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is not null
:
assertThat(changes).change().rowAtEndPoint().value().isNotNull();
isNotNull
in interface AssertOnValueNullity<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isNotNull()
,
AbstractAssertWithValues.isNotNull()
public V isEqualTo(Object expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to french Locale :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(Locale.FRENCH);
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected object value.this
assertion object.isEqualTo(Object)
,
AbstractAssertWithValues.isEqualTo(Object)
public V isEqualTo(Boolean expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is equal to true boolean :
assertThat(table).row().value().isEqualTo(true);
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is equal to true boolean :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(true);
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected boolean value.this
assertion object.isEqualTo(Boolean)
,
AbstractAssertWithValues.isEqualTo(Boolean)
public V isTrue()
Example with the value in the first Column
of the first Row
of the Table
:
assertThat(table).row().value().isTrue();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
:
assertThat(changes).change().rowAtEndPoint().value().isTrue();
isTrue
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isTrue()
,
AbstractAssertWithValues.isTrue()
public V isFalse()
Example with the value in the first Column
of the first Row
of the Table
:
assertThat(table).row().value().isFalse();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
:
assertThat(changes).change().rowAtEndPoint().value().isFalse();
isFalse
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isFalse()
,
AbstractAssertWithValues.isFalse()
public V isEqualTo(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is equal to number 3 :
assertThat(table).row().value().isEqualTo(3);
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is equal to number 3 :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(3);
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isEqualTo(Number)
,
AbstractAssertWithValues.isEqualTo(Number)
public V isEqualTo(byte[] expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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);
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected array of bytes value.this
assertion object.isEqualTo(byte[])
,
AbstractAssertWithValues.isEqualTo(byte[])
public V isEqualTo(String expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is equal to a text :
assertThat(table).row().value().isEqualTo("text");
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is equal to a text :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo("text");
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected text value.this
assertion object.isEqualTo(String)
,
AbstractAssertWithValues.isEqualTo(String)
public V isEqualTo(Character expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is equal to a character :
assertThat(table).row().value().isEqualTo('c');
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is equal to a character :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo('c');
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected character value.this
assertion object.isEqualTo(Character)
,
AbstractAssertWithValues.isEqualTo(Character)
public V isEqualTo(UUID expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to an UUID :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected UUID value.this
assertion object.isEqualTo(UUID)
,
AbstractAssertWithValues.isEqualTo(UUID)
public V isEqualTo(DateValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateValue.of(2014, 7, 7));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.this
assertion object.isEqualTo(DateValue)
,
AbstractAssertWithValues.isEqualTo(DateValue)
public V isEqualTo(TimeValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(TimeValue.of(21, 29, 30));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected time value.this
assertion object.isEqualTo(TimeValue)
,
AbstractAssertWithValues.isEqualTo(TimeValue)
public V isEqualTo(DateTimeValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(DateTimeValue.of(DateValue.of(2014, 7, 7), TimeValue.of(21, 29)));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.this
assertion object.isEqualTo(DateTimeValue)
,
AbstractAssertWithValues.isEqualTo(DateTimeValue)
public V isEqualTo(LocalDate expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDate.of(2014, 7, 7));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.this
assertion object.isEqualTo(LocalDate)
,
AbstractAssertWithValues.isEqualTo(LocalDate)
public V isEqualTo(LocalTime expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalTime.of(21, 29, 30));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected time value.this
assertion object.isEqualTo(LocalTime)
,
AbstractAssertWithValues.isEqualTo(LocalTime)
public V isEqualTo(LocalDateTime expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is equal to a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
isEqualTo
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.this
assertion object.isEqualTo(LocalDateTime)
,
AbstractAssertWithValues.isEqualTo(LocalDateTime)
public V isNotEqualTo(Object expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to french Locale :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(Locale.FRENCH);
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected object value.this
assertion object.isNotEqualTo(Object)
,
AbstractAssertWithValues.isNotEqualTo(Object)
public V isNotEqualTo(Boolean expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to true boolean :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(true);
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected boolean value.this
assertion object.isNotEqualTo(Boolean)
,
AbstractAssertWithValues.isNotEqualTo(Boolean)
public V isNotEqualTo(byte[] expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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);
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected array of bytes value.this
assertion object.isNotEqualTo(byte[])
,
AbstractAssertWithValues.isNotEqualTo(byte[])
public V isNotEqualTo(DateTimeValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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)));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.this
assertion object.isNotEqualTo(DateTimeValue)
,
AbstractAssertWithValues.isNotEqualTo(DateTimeValue)
public V isNotEqualTo(DateValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(DateValue.of(2014, 7, 7));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.this
assertion object.isNotEqualTo(DateValue)
,
AbstractAssertWithValues.isNotEqualTo(DateValue)
public V isNotEqualTo(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to number 3 :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(3);
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isNotEqualTo(Number)
,
AbstractAssertWithValues.isNotEqualTo(Number)
public V isNotEqualTo(String expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a text :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo("text");
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected text value.this
assertion object.isNotEqualTo(String)
,
AbstractAssertWithValues.isNotEqualTo(String)
public V isNotEqualTo(Character expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a character :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo('c');
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected character value.this
assertion object.isNotEqualTo(Character)
,
AbstractAssertWithValues.isNotEqualTo(Character)
public V isNotEqualTo(UUID expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to an UUID :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(UUID.fromString("30B443AE-C0C9-4790-9BEC-CE1380808435"));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected UUID value.this
assertion object.isNotEqualTo(UUID)
,
AbstractAssertWithValues.isNotEqualTo(UUID)
public V isNotEqualTo(TimeValue expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(TimeValue.of(21, 29, 30));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected time value.this
assertion object.isNotEqualTo(TimeValue)
,
AbstractAssertWithValues.isNotEqualTo(TimeValue)
public V isNotEqualTo(LocalDate expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDate.of(2014, 7, 7));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.this
assertion object.isNotEqualTo(LocalDate)
,
AbstractAssertWithValues.isNotEqualTo(LocalDate)
public V isNotEqualTo(LocalTime expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalTime.of(21, 29, 30));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected time value.this
assertion object.isNotEqualTo(LocalTime)
,
AbstractAssertWithValues.isNotEqualTo(LocalTime)
public V isNotEqualTo(LocalDateTime expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is not equal to a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isNotEqualTo(LocalDateTime.of(2014, 7, 7, 21, 29));
isNotEqualTo
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.this
assertion object.isNotEqualTo(LocalDateTime)
,
AbstractAssertWithValues.isNotEqualTo(LocalDateTime)
public V isBefore(DateValue date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a date value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(DateValue.of(2007, 12, 23));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isBefore(org.assertj.db.type.DateValue)
,
AbstractAssertWithValues.isBefore(org.assertj.db.type.DateValue)
public V isBefore(TimeValue time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a time value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(TimeValue.of(21, 29, 30));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isBefore(org.assertj.db.type.TimeValue)
,
AbstractAssertWithValues.isBefore(org.assertj.db.type.TimeValue)
public V isBefore(DateTimeValue dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isBefore(org.assertj.db.type.DateTimeValue)
,
AbstractAssertWithValues.isBefore(org.assertj.db.type.DateTimeValue)
public V isBefore(LocalDate date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a date value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDate.of(2007, 12, 23));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isBefore(LocalDate)
,
AbstractAssertWithValues.isBefore(LocalDate)
public V isBefore(LocalTime time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a time value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalTime.of(21, 29, 30));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isBefore(LocalTime)
,
AbstractAssertWithValues.isBefore(LocalTime)
public V isBefore(LocalDateTime dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isBefore(LocalDateTime.of(2007, 12, 23, 21, 29));
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isBefore(LocalDateTime)
,
AbstractAssertWithValues.isBefore(LocalDateTime)
public V isBefore(String expected)
String
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is before a date represented by a String
:
assertThat(table).row().value().isBefore("2007-12-23");
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is before a date represented by a String
:
assertThat(changes).change().rowAtEndPoint().value().isBefore("2007-12-23");
isBefore
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The String
representing a date, time or date/time to compare to.this
assertion object.isBefore(String)
,
AbstractAssertWithValues.isBefore(String)
public V isBeforeOrEqualTo(DateValue date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before or equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(DateValue.of(2007, 12, 23));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isBeforeOrEqualTo(org.assertj.db.type.DateValue)
,
AbstractAssertWithValues.isBeforeOrEqualTo(org.assertj.db.type.DateValue)
public V isBeforeOrEqualTo(TimeValue time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before or equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(TimeValue.of(21, 29, 30));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isBeforeOrEqualTo(org.assertj.db.type.TimeValue)
,
AbstractAssertWithValues.isBeforeOrEqualTo(org.assertj.db.type.TimeValue)
public V isBeforeOrEqualTo(DateTimeValue dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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)));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isBeforeOrEqualTo(org.assertj.db.type.DateTimeValue)
,
AbstractAssertWithValues.isBeforeOrEqualTo(org.assertj.db.type.DateTimeValue)
public V isBeforeOrEqualTo(LocalDate date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before or equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDate.of(2007, 12, 23));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isBeforeOrEqualTo(LocalDate)
,
AbstractAssertWithValues.isBeforeOrEqualTo(LocalDate)
public V isBeforeOrEqualTo(LocalTime time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before or equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalTime.of(21, 29, 30));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isBeforeOrEqualTo(LocalTime)
,
AbstractAssertWithValues.isBeforeOrEqualTo(LocalTime)
public V isBeforeOrEqualTo(LocalDateTime dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is before or equal to a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isBeforeOrEqualTo(LocalDateTime)
,
AbstractAssertWithValues.isBeforeOrEqualTo(LocalDateTime)
public V isBeforeOrEqualTo(String expected)
String
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is before or equal to a date represented by a String
:
assertThat(table).row().value().isBeforeOrEqualTo("2007-12-23");
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is before or equal to a date represented by a String
:
assertThat(changes).change().rowAtEndPoint().value().isBeforeOrEqualTo("2007-12-23");
isBeforeOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The String
representing a date, time or date/time to compare to.this
assertion object.isBeforeOrEqualTo(String)
,
AbstractAssertWithValues.isBeforeOrEqualTo(String)
public V isAfter(DateValue date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a date value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(DateValue.of(2007, 12, 23));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isAfter(org.assertj.db.type.DateValue)
,
AbstractAssertWithValues.isAfter(org.assertj.db.type.DateValue)
public V isAfter(TimeValue time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a time value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(TimeValue.of(21, 29, 30));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isAfter(org.assertj.db.type.TimeValue)
,
AbstractAssertWithValues.isAfter(org.assertj.db.type.TimeValue)
public V isAfter(DateTimeValue dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(DateTimeValue.of(DateValue.of(2007, 12, 23), TimeValue.of(21, 29)));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isAfter(org.assertj.db.type.DateTimeValue)
,
AbstractAssertWithValues.isAfter(org.assertj.db.type.DateTimeValue)
public V isAfter(LocalDate date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a date value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDate.of(2007, 12, 23));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isAfter(LocalDate)
,
AbstractAssertWithValues.isAfter(LocalDate)
public V isAfter(LocalTime time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a time value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalTime.of(21, 29, 30));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isAfter(LocalTime)
,
AbstractAssertWithValues.isAfter(LocalTime)
public V isAfter(LocalDateTime dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isAfter(LocalDateTime.of(2007, 12, 23, 21, 29));
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isAfter(LocalDateTime)
,
AbstractAssertWithValues.isAfter(LocalDateTime)
public V isAfter(String expected)
String
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is after a date represented by a String
:
assertThat(table).row().value().isAfter("2007-12-23");
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is after a date represented by a String
:
assertThat(changes).change().rowAtEndPoint().value().isAfter("2007-12-23");
isAfter
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The String
representing a date, time or date/time to compare to.this
assertion object.isAfter(String)
,
AbstractAssertWithValues.isAfter(String)
public V isAfterOrEqualTo(DateValue date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after or equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(DateValue.of(2007, 12, 23));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isAfterOrEqualTo(org.assertj.db.type.DateValue)
,
AbstractAssertWithValues.isAfterOrEqualTo(org.assertj.db.type.DateValue)
public V isAfterOrEqualTo(TimeValue time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after or equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(TimeValue.of(21, 29, 30));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isAfterOrEqualTo(org.assertj.db.type.TimeValue)
,
AbstractAssertWithValues.isAfterOrEqualTo(org.assertj.db.type.TimeValue)
public V isAfterOrEqualTo(DateTimeValue dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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)));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isAfterOrEqualTo(org.assertj.db.type.DateTimeValue)
,
AbstractAssertWithValues.isAfterOrEqualTo(org.assertj.db.type.DateTimeValue)
public V isAfterOrEqualTo(LocalDate date)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after or equal to a date value :
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDate.of(2007, 12, 23));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
date
- The date value to compare to.this
assertion object.isAfterOrEqualTo(LocalDate)
,
AbstractAssertWithValues.isAfterOrEqualTo(LocalDate)
public V isAfterOrEqualTo(LocalTime time)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after or equal to a time value :
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalTime.of(21, 29, 30));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
time
- The time value to compare to.this
assertion object.isAfterOrEqualTo(LocalTime)
,
AbstractAssertWithValues.isAfterOrEqualTo(LocalTime)
public V isAfterOrEqualTo(LocalDateTime dateTime)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is after or equal to a date/time value :
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo(LocalDateTime.of(2007, 12, 23, 21, 29));
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
dateTime
- The date/time value to compare to.this
assertion object.isAfterOrEqualTo(LocalDateTime)
,
AbstractAssertWithValues.isAfterOrEqualTo(LocalDateTime)
public V isAfterOrEqualTo(String expected)
String
.
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is after or equal to a date represented by a String
:
assertThat(table).row().value().isAfterOrEqualTo("2007-12-23");
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is after or equal to a date represented by a String
:
assertThat(changes).change().rowAtEndPoint().value().isAfterOrEqualTo("2007-12-23");
isAfterOrEqualTo
in interface AssertOnValueChronology<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The String
representing a date, time or date/time to compare to.this
assertion object.isAfterOrEqualTo(String)
,
AbstractAssertWithValues.isAfterOrEqualTo(String)
public V isZero()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is equal to zero :
assertThat(table).row().value().isZero();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is equal to zero :
assertThat(changes).change().rowAtEndPoint().value().isZero();
isZero
in interface AssertOnValueEquality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isZero()
,
AbstractAssertWithValues.isZero()
public V isNotZero()
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is not equal to zero :
assertThat(table).row().value().isNotZero();
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is not equal to zero :
assertThat(changes).change().rowAtEndPoint().value().isNotZero();
isNotZero
in interface AssertOnValueInequality<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
this
assertion object.isNotZero()
,
AbstractAssertWithValues.isNotZero()
public V isGreaterThan(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is greater than number 3 :
assertThat(table).row().value().isGreaterThan(3);
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is greater than number 3 :
assertThat(changes).change().rowAtEndPoint().value().isGreaterThan(3);
isGreaterThan
in interface AssertOnValueComparison<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isGreaterThan(Number)
,
AbstractAssertWithValues.isGreaterThan(Number)
public V isLessThan(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
is less than number 3 :
assertThat(table).row().value().isLessThan(3);
Example where the assertion verifies that the value in the first Column
of the Row
at end point
of the first Change
is less than number 3 :
assertThat(changes).change().rowAtEndPoint().value().isLessThan(3);
isLessThan
in interface AssertOnValueComparison<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isLessThan(Number)
,
AbstractAssertWithValues.isLessThan(Number)
public V isGreaterThanOrEqualTo(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is greater than or equal to number 3 :
assertThat(changes).change().rowAtEndPoint().value().isGreaterThanOrEqual(3);
isGreaterThanOrEqualTo
in interface AssertOnValueComparison<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isGreaterThanOrEqualTo(Number)
,
AbstractAssertWithValues.isGreaterThanOrEqualTo(Number)
public V isLessThanOrEqualTo(Number expected)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is less than or equal to number 3 :
assertThat(changes).change().rowAtEndPoint().value().isLessThanOrEqual(3);
isLessThanOrEqualTo
in interface AssertOnValueComparison<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.this
assertion object.isLessThanOrEqualTo(Number)
,
AbstractAssertWithValues.isLessThanOrEqualTo(Number)
public V isCloseTo(Number expected, Number tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
is close to number 3 with a tolerance of 0.75 :
assertThat(changes).change().rowAtEndPoint().value().isCloseTo(3, 0.75);
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected number value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(Number, Number)
,
AbstractAssertWithValues.isCloseTo(Number, Number)
public V isCloseTo(DateValue expected, DateValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateValue, DateValue)
,
AbstractAssertWithValues.isCloseTo(DateValue, DateValue)
public V isCloseTo(DateValue expected, TimeValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateValue, TimeValue)
,
AbstractAssertWithValues.isCloseTo(DateValue, TimeValue)
public V isCloseTo(DateValue expected, DateTimeValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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)));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateValue, DateTimeValue)
,
AbstractAssertWithValues.isCloseTo(DateValue, DateTimeValue)
public V isCloseTo(TimeValue expected, TimeValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected time value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(TimeValue, TimeValue)
,
AbstractAssertWithValues.isCloseTo(TimeValue, TimeValue)
public V isCloseTo(DateTimeValue expected, DateValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateTimeValue, DateValue)
,
AbstractAssertWithValues.isCloseTo(DateTimeValue, DateValue)
public V isCloseTo(DateTimeValue expected, TimeValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateTimeValue, TimeValue)
,
AbstractAssertWithValues.isCloseTo(DateTimeValue, TimeValue)
public V isCloseTo(DateTimeValue expected, DateTimeValue tolerance)
Example where the assertion verifies that the value in the first Column
of the first Row
of the
Table
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 the Row
at end point
of the first Change
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)));
isCloseTo
in interface AssertOnValueCloseness<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
expected
- The expected date/time value.tolerance
- The tolerance of the closeness.this
assertion object.isCloseTo(DateTimeValue, DateTimeValue)
,
AbstractAssertWithValues.isCloseTo(DateTimeValue, DateTimeValue)
public V is(org.assertj.core.api.Condition<?> condition)
is
in interface AssertOnValueCondition<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
condition
- the given condition.this
assertion object.is(Condition)
,
AbstractAssertWithValues.is(Condition)
public V isNot(org.assertj.core.api.Condition<?> condition)
isNot
in interface AssertOnValueCondition<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
condition
- the given condition.this
assertion object.isNot(Condition)
,
AbstractAssertWithValues.isNot(Condition)
public V has(org.assertj.core.api.Condition<?> condition)
AssertOnValueCondition.is(Condition)
.has
in interface AssertOnValueCondition<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
condition
- the given condition.this
assertion object.has(Condition)
,
AbstractAssertWithValues.has(Condition)
public V doesNotHave(org.assertj.core.api.Condition<?> condition)
AssertOnValueCondition.isNot(Condition)
.doesNotHave
in interface AssertOnValueCondition<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
condition
- the given condition.this
assertion object.doesNotHave(Condition)
,
AbstractAssertWithValues.doesNotHave(Condition)
public V satisfies(org.assertj.core.api.Condition<?> condition)
AssertOnValueCondition.is(Condition)
.satisfies
in interface AssertOnValueCondition<V extends AbstractValueAssert<D,A,S,V,C,CV,R,RV>>
condition
- the given condition.this
assertion object.satisfies(Condition)
,
AbstractAssertWithValues.satisfies(Condition)
Copyright © 2020 AssertJ. All rights reserved.