Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public <T> T createProxy(Class<T> toMock,
- Specified by:
createProxy in interface
- Type Parameters:
T - type of the class to mock
toMock - the class to mock by the factory
handler - the handler that will be linked to the created proxy
mockedMethods - the subset of
toMock's methods to mock, or
null to mock all methods.
args - the constructor arguments to use, or null to use
heuristics to choose a constructor.
- the newly created proxy
Copyright © 2001–2017 EasyMock contributors. All rights reserved.