org.picocontainer.tck
Class MockFactory
java.lang.Object
org.picocontainer.tck.MockFactory
public class MockFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFactory
public MockFactory()
mockeryWithCountingNamingScheme
public static org.jmock.Mockery mockeryWithCountingNamingScheme()
- Returns a Mockery instance with a counting naming scheme.
From jMock 2.4, default behaviour does not allow more than one mock with same name.
This can be over-restrictive. A workaround is to append a counting integer.
- Returns:
- A Mockery instance
Copyright © 2003-2010 Codehaus. All Rights Reserved.