Constructor | Description |
---|---|
CurrentStateMatcher(String stateName,
boolean expected) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
describeMismatchSafely(States stateMachine,
org.hamcrest.Description mismatchDescription) |
|
void |
describeTo(org.hamcrest.Description description) |
|
static org.hamcrest.Matcher<States> |
isCurrently(String stateName) |
|
static org.hamcrest.Matcher<States> |
isNotCurrently(String stateName) |
|
boolean |
matchesSafely(States stateMachine) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public CurrentStateMatcher(String stateName, boolean expected)
public boolean matchesSafely(States stateMachine)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<States>
protected void describeMismatchSafely(States stateMachine, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<States>
public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2018 jMock. All rights reserved.