Package org.assertj.db.api.assertions
Interface AssertOnValueCondition<T extends AssertOnValueCondition<T>>
- Type Parameters:
T
- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
- All Known Implementing Classes:
AbstractAssertWithValues
,AbstractColumnValueAssert
,AbstractRowValueAssert
,AbstractValueAssert
,ChangeColumnValueAssert
,ChangeRowValueAssert
,RequestColumnValueAssert
,RequestRowValueAssert
,TableColumnValueAssert
,TableRowValueAssert
public interface AssertOnValueCondition<T extends AssertOnValueCondition<T>>
Defines the assertion methods on the matching with condition.
- Author:
- Julien Roy
-
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.isNot
(org.assertj.core.api.Condition<?> condition) Verifies that the actual value does not satisfy the given condition.satisfies
(org.assertj.core.api.Condition<?> condition) Verifies that the actual value satisfies the given condition.
-
Method Details
-
is
Verifies that the actual value satisfies the given condition.- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- Throws:
NullPointerException
- if the given condition isnull
.AssertionError
- if the actual value does not satisfy the given condition.- See Also:
-
isNot
Verifies that the actual value does not satisfy the given condition.- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- Throws:
NullPointerException
- if the given condition isnull
.AssertionError
- if the actual value satisfies the given condition.- See Also:
-
has
Verifies that the actual value satisfies the given condition. This method is an alias for
.is(Condition)
- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- Throws:
NullPointerException
- if the given condition isnull
.AssertionError
- if the actual value does not satisfy the given condition.- See Also:
-
doesNotHave
Verifies that the actual value does not satisfy the given condition. This method is an alias for
.isNot(Condition)
- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- Throws:
NullPointerException
- if the given condition isnull
.AssertionError
- if the actual value satisfies the given condition.- See Also:
-
satisfies
Verifies that the actual value satisfies the given condition. This method is an alias for
.is(Condition)
- Parameters:
condition
- the given condition.- Returns:
this
assertion object.- Throws:
NullPointerException
- if the given condition isnull
.AssertionError
- if the actual value does not satisfy the given condition.- See Also:
-