T
- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details.public interface AssertOnValueCondition<T extends AssertOnValueCondition<T>>
Modifier and Type | Method and Description |
---|---|
T |
doesNotHave(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value does not satisfy the given condition.
|
T |
has(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
T |
is(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
T |
isNot(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value does not satisfy the given condition.
|
T |
satisfies(org.assertj.core.api.Condition<?> condition)
Verifies that the actual value satisfies the given condition.
|
T is(org.assertj.core.api.Condition<?> condition)
condition
- the given condition.this
assertion object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value does not satisfy the given condition.AbstractValueAssert.is(Condition)
,
AbstractAssertWithValues.is(Condition)
T isNot(org.assertj.core.api.Condition<?> condition)
condition
- the given condition.this
assertion object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value satisfies the given condition.AbstractValueAssert.isNot(Condition)
,
AbstractAssertWithValues.isNot(Condition)
T has(org.assertj.core.api.Condition<?> condition)
is(Condition)
.condition
- the given condition.this
assertion object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value does not satisfy the given condition.AbstractValueAssert.has(Condition)
,
AbstractAssertWithValues.has(Condition)
T doesNotHave(org.assertj.core.api.Condition<?> condition)
isNot(Condition)
.condition
- the given condition.this
assertion object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value satisfies the given condition.AbstractValueAssert.doesNotHave(Condition)
,
AbstractAssertWithValues.doesNotHave(Condition)
T satisfies(org.assertj.core.api.Condition<?> condition)
is(Condition)
.condition
- the given condition.this
assertion object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value does not satisfy the given condition.AbstractValueAssert.satisfies(Condition)
,
AbstractAssertWithValues.satisfies(Condition)
Copyright © 2020 AssertJ. All rights reserved.