S
- the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details.A
- the type of the "actual" value.public interface ExtensionPoints<S extends ExtensionPoints<S,A>,A>
Modifier and Type | Method and Description |
---|---|
S |
doesNotHave(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition.
|
S |
has(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.
|
S |
is(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.
|
S |
isNot(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition.
|
S is(Condition<? super A> condition)
has(Condition)
.condition
- the given condition.this ExtensionPoints
object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value does not satisfy the given condition.is(Condition)
S isNot(Condition<? super A> condition)
doesNotHave(Condition)
.condition
- the given condition.this ExtensionPoints
object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value satisfies the given condition.isNot(Condition)
S has(Condition<? super A> condition)
is(Condition)
.condition
- the given condition.this ExtensionPoints
object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value does not satisfy the given condition.is(Condition)
S doesNotHave(Condition<? super A> condition)
isNot(Condition)
.condition
- the given condition.this ExtensionPoints
object.NullPointerException
- if the given condition is null
.AssertionError
- if the actual value satisfies the given condition.isNot(Condition)
Copyright © 2013-2014 AssertJ. All Rights Reserved.