code: public static <T> T createPartialMock(Class<T> type, String methodName, Class<?>[] methodParameterTypes,
                                            Object... constructorArguments) {
          Constructor<?> constructor = WhiteboxImpl.findUniqueConstructorOrThrowException(type, constructorArguments);
          ConstructorArgs constructorArgs = new ConstructorArgs(constructor, constructorArguments);
          return doMockSpecific(type, new DefaultMockStrategy(), new String[]{methodName}, constructorArgs,
                  methodParameterTypes);
      }
docs: A utility method that may be used to mock several methods in an easy way
  (by just passing in the method names of the method you wish to mock). Use
  this to handle overloaded methods. The mock object created will support
  mocking of final and native methods and invokes a specific constructor
  based on the supplied argument values.
  
  @param <T>                  the type of the mock object
  @param type                 the type of the mock object
  @param methodName           The names of the methods that should be mocked. If
  {@code null}, then this method will have the same effect
  as just calling {@link #createMock(Class, Method...)} with the
  second parameter as {@code new Method[0]} (i.e. all
  methods in that class will be mocked).
  @param methodParameterTypes Parameter types that defines the method. Note that this is
  only needed to separate overloaded methods.
  @param constructorArguments The constructor arguments that will be used to invoke a
  certain constructor. (optional)
  @return the mock object.