code: public static synchronized <T> T createNicePartialMock(Class<T> type, Class<? super T> where, String... methodNames) {
          return createNiceMock(type, Whitebox.getMethods(where, methodNames));
      }
docs: A utility method that may be used to nicely 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.
  <p/>
  With this method you can specify where the class hierarchy the methods
  are located. This is useful in, for example, situations where class A
  extends B and both have a method called "mockMe" (A overrides B's mockMe
  method) and you like to specify the only the "mockMe" method in B should
  be mocked. "mockMe" in A should be left intact. In this case you should
  do:
  <p/>
  <pre>
  A tested = createPartialMockNice(A.class, B.class, &quot;mockMe&quot;);
  </pre>
  
  @param <T>         The type of the mock.
  @param type        The type that'll be used to create a mock instance.
  @param where       Where in the class hierarchy the methods resides.
  @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>.