// Create mocks.
// ==================================================================
// Create a mock match that will be returned by the mock resource
// identifier.
final MatchMock mockMatch = new MatchMock("match", expectations);
// Create a mock step sequence that the mock match will return.
final IteratorMock mockIterator = new IteratorMock("iterator", expectations);
final StepMock mockStep1 = new StepMock("step1", expectations);
final StepMock mockStep2 = new StepMock("step2", expectations);