| Package | Description |
|---|---|
| org.jmock |
The jMock "Domain-Specific Embedded Language" API.
|
| org.jmock.integration.junit3 |
Integrates jMock with JUnit 3.
|
| org.jmock.internal |
This package contains internal implementation details.
|
| org.jmock.lib |
Implementations of the core interfaces that are used to adjust or extend jMock's basic
functionality.
|
| Modifier and Type | Method | Description |
|---|---|---|
States |
States.startsAs(String initialState) |
Put the state machine into state initialState.
|
States |
Mockery.states(String name) |
Returns a new state machine that is used to constrain the order in which
expectations can occur.
|
| Modifier and Type | Method | Description |
|---|---|---|
States |
MockObjectTestCase.states(String name) |
Returns a new state machine that is used to constrain the order in which
expectations can occur.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
StateMachine |
| Modifier and Type | Method | Description |
|---|---|---|
States |
StateMachine.startsAs(String initialState) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.hamcrest.Matcher<States> |
CurrentStateMatcher.isCurrently(String stateName) |
|
static org.hamcrest.Matcher<States> |
CurrentStateMatcher.isNotCurrently(String stateName) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
CurrentStateMatcher.describeMismatchSafely(States stateMachine,
org.hamcrest.Description mismatchDescription) |
|
boolean |
CurrentStateMatcher.matchesSafely(States stateMachine) |
Copyright © 2003–2018 jMock. All rights reserved.