code: public static <T> T createPartialMock(Class<T> type, String[] methodNames, Object... constructorArguments) {
          Constructor<?> constructor = WhiteboxImpl.findUniqueConstructorOrThrowException(type, constructorArguments);
          ConstructorArgs constructorArgs = new ConstructorArgs(constructor, constructorArguments);
          return doMock(type, false, new DefaultMockStrategy(), constructorArgs, Whitebox.getMethods(type, methodNames));
      }
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). 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 methodNames          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 constructorArguments The constructor arguments that will be used to invoke a
  certain constructor. (optional)
  @return the mock object.