|Modifier and Type||Method and Description|
Returns the invocation handler for
<T> T createProxy(Class<T> toMock, InvocationHandler handler, Method mockedMethods, ConstructorArgs constructorArgs)
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.
constructorArgs- the constructor arguments to use, or null to use heuristics to choose a constructor.
Copyright © 2001–2020 EasyMock contributors. All rights reserved.