-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
createProxy
public <T> T createProxy(Class<T> toMock,
InvocationHandler handler,
Method[] mockedMethods,
ConstructorArgs args)
- Specified by:
createProxy
in interface IProxyFactory
- Parameters:
toMock
- the class to mock by the factoryhandler
- the handler that will be linked to the created proxymockedMethods
- 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.
- Returns:
- the newly created proxy
Copyright © 2001-2013 OFFIS, Tammo Freese, Henri Tremblay. All Rights Reserved.