Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.picocontainer.tck
Class MockFactory

    java.lang.Object
      org.picocontainer.tck.MockFactory

    public class MockFactory

extends Object

Constructor Summary
`MockFactory()`

Method Summary
`static org.jmock.Mockery` | `mockeryWithCountingNamingScheme()` Returns a Mockery instance with a counting naming scheme.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MockFactory

    public MockFactory()

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 Codehaus. All Rights Reserved.