Constructor and Description |
---|
CurrentStateMatcher(String stateName,
boolean expected) |
Modifier and Type | Method and 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) |
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–2021 jMock. All rights reserved.