Uses of Interface
org.easymock.classextension.IMockBuilder

Uses of IMockBuilder in org.easymock.classextension
 

Methods in org.easymock.classextension that return IMockBuilder
 IMockBuilder<T> IMockBuilder.addMockedMethod(java.lang.reflect.Method method)
          Adds a method to be mocked in the testing class.
 IMockBuilder<T> IMockBuilder.addMockedMethod(java.lang.String methodName)
          Adds a method to be mocked in the testing class.
 IMockBuilder<T> IMockBuilder.addMockedMethod(java.lang.String methodName, java.lang.Class<?>... parameterTypes)
          Adds a method to be mocked in the testing class.
 IMockBuilder<T> IMockBuilder.addMockedMethods(java.lang.reflect.Method... methods)
          Adds methods to be mocked in the testing class.
 IMockBuilder<T> IMockBuilder.addMockedMethods(java.lang.String... methodNames)
          Adds methods to be mocked in the testing class.
static
<T> IMockBuilder<T>
EasyMock.createMockBuilder(java.lang.Class<T> toMock)
           
 IMockBuilder<T> IMockBuilder.withArgs(java.lang.Object... initArgs)
          Defines the arguments to be passed to the constructor of the class.
 IMockBuilder<T> IMockBuilder.withConstructor()
          Defines the empty constructor should be called.
 IMockBuilder<T> IMockBuilder.withConstructor(java.lang.Class<?>... argTypes)
          Defines the exact argument types for the constructor to use.
 IMockBuilder<T> IMockBuilder.withConstructor(java.lang.reflect.Constructor<?> constructor)
          Defines the constructor to use to instantiate the mock.
 IMockBuilder<T> IMockBuilder.withConstructor(ConstructorArgs constructorArgs)
          Defines the constructor and arguments to use to instantiate the mock.
 IMockBuilder<T> IMockBuilder.withConstructor(java.lang.Object... initArgs)
          Defines the constructor parameters for the mocked class.
 



Copyright © 2003-2009 OFFIS, Henri Tremblay. This documentation is provided under the terms of the MIT licence.