|
||||||||||
| 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,A>
Mechanism for extending assertion classes.
| Method Summary | |
|---|---|
S |
doesNotHave(Condition<A> condition)
Verifies that the actual value does not satisfy the given condition. |
S |
has(Condition<A> condition)
Verifies that the actual value satisfies the given condition. |
S |
is(Condition<A> condition)
Verifies that the actual value satisfies the given condition. |
S |
isNot(Condition<A> condition)
Verifies that the actual value does not satisfy the given condition. |
| Method Detail |
|---|
S is(Condition<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<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<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<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 | |||||||||