test.jmock.builder.testsupport
Class MockBuilderIdentityTable

java.lang.Object
  extended bytest.jmock.builder.testsupport.MockBuilderIdentityTable
All Implemented Interfaces:
BuilderNamespace, Verifiable

public class MockBuilderIdentityTable
extends Object
implements BuilderNamespace, Verifiable


Field Summary
 ExpectationValue lookupID
           
 AssertionFailedError lookupIDError
           
 MatchBuilder lookupIDResult
           
 ExpectationValue registerMethodName
           
 ExpectationValue registerMethodNameBuilder
           
 ExpectationValue registerUniqueID
           
 ExpectationValue registerUniqueIDBuilder
           
 
Constructor Summary
MockBuilderIdentityTable()
           
 
Method Summary
 MatchBuilder lookupID(String id)
           
 void registerMethodName(String name, MatchBuilder builder)
           
 void registerUniqueID(String id, MatchBuilder builder)
           
 void verify()
          Throw an AssertionFailedException if any expectations have not been met.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lookupID

public ExpectationValue lookupID

lookupIDResult

public MatchBuilder lookupIDResult

lookupIDError

public AssertionFailedError lookupIDError

registerUniqueID

public ExpectationValue registerUniqueID

registerUniqueIDBuilder

public ExpectationValue registerUniqueIDBuilder

registerMethodName

public ExpectationValue registerMethodName

registerMethodNameBuilder

public ExpectationValue registerMethodNameBuilder
Constructor Detail

MockBuilderIdentityTable

public MockBuilderIdentityTable()
Method Detail

lookupID

public MatchBuilder lookupID(String id)
Specified by:
lookupID in interface BuilderNamespace

registerUniqueID

public void registerUniqueID(String id,
                             MatchBuilder builder)
Specified by:
registerUniqueID in interface BuilderNamespace

registerMethodName

public void registerMethodName(String name,
                               MatchBuilder builder)
Specified by:
registerMethodName in interface BuilderNamespace

verify

public void verify()
Description copied from interface: Verifiable
Throw an AssertionFailedException if any expectations have not been met.

Specified by:
verify in interface Verifiable