|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<States>
org.jmock.lib.CurrentStateMatcher
public class CurrentStateMatcher
| Constructor Summary | |
|---|---|
CurrentStateMatcher(String stateName,
boolean expected)
|
|
| Method Summary | |
|---|---|
protected void |
describeMismatchSafely(States stateMachine,
Description mismatchDescription)
|
void |
describeTo(Description description)
|
static Matcher<States> |
isCurrently(String stateName)
|
static Matcher<States> |
isNotCurrently(String stateName)
|
boolean |
matchesSafely(States stateMachine)
|
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
|---|
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
|---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CurrentStateMatcher(String stateName,
boolean expected)
| Method Detail |
|---|
public boolean matchesSafely(States stateMachine)
matchesSafely in class TypeSafeMatcher<States>
protected void describeMismatchSafely(States stateMachine,
Description mismatchDescription)
describeMismatchSafely in class TypeSafeMatcher<States>public void describeTo(Description description)
public static Matcher<States> isCurrently(String stateName)
public static Matcher<States> isNotCurrently(String stateName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||