code: public static synchronized <T> T createPartialMock(Class<T> type, String... methodNames) {
          return createMock(type, 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).
  Note that you cannot uniquely specify a method to mock using this method
  if there are several methods with the same name in {@code type}.
  This method will mock ALL methods that match the supplied name regardless
  of parameter types and signature. If this is the case you should
  fall-back on using the {@link #createMock(Class, Method...)} method
  instead.
  
  @param <T>         The type of the mock.
  @param type        The type that'll be used to create a mock instance.
  @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).
  @return A mock object of type <T>.