* that this is only needed to separate overloaded methods.
* @return A mock object of type <T>.
*/
public static synchronized <T> T createNicePartialMock(Class<T> type, String methodNameToMock,
Class<?> firstArgumentType, Class<?>... additionalArgumentTypes) {
return doMockSpecific(type, new NiceMockStrategy(), new String[] { methodNameToMock }, null,
mergeArgumentTypes(firstArgumentType, additionalArgumentTypes));
}