|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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>
Mechanism for extending assertion classes.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |