org.jmock.internal
Class NamedSequence

java.lang.Object
  extended by org.jmock.internal.NamedSequence
All Implemented Interfaces:
Sequence

public class NamedSequence
extends Object
implements Sequence

A sequence of expectations. Invocations can be constrained to occur in strict order defined by a sequence.

Author:
nat

Constructor Summary
NamedSequence(String name)
           
 
Method Summary
 void constrainAsNextInSequence(InvocationExpectation expectation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedSequence

public NamedSequence(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

constrainAsNextInSequence

public void constrainAsNextInSequence(InvocationExpectation expectation)
Specified by:
constrainAsNextInSequence in interface Sequence


Copyright © 2003-2012 jMock. All Rights Reserved.