code: public static synchronized <T> T createStrictPartialMockForAllMethodsExcept(Class<T> type,
                                                                                  String methodNameToExclude, Class<?> firstArgumentType, Class<?>... moreTypes) {
          /*
             * The reason why we've split the first and "additional types" is
             * because it should not intervene with the mockAllExcept(type,
             * String...methodNames) method.
             */
          final Class<?>[] argumentTypes = mergeArgumentTypes(firstArgumentType, moreTypes);
  
          return createStrictMock(type, WhiteboxImpl.getAllMethodsExcept(type, methodNameToExclude, argumentTypes));
      }
docs: Mock all methods of a class except for a specific one strictly. Use this
  method only if you have several overloaded methods.
  
  @param <T>                 The type of the mock.
  @param type                The type that'll be used to create a mock instance.
  @param methodNameToExclude The name of the method not to mock.
  @param firstArgumentType   The type of the first parameter of the method not to mock
  @param moreTypes           Optionally more parameter types that defines the method. Note
  that this is only needed to separate overloaded methods.
  @return A mock object of type <T>.