public static synchronized <T> IExpectationSetters<T> expectPrivate(Object instance, String methodName,
                                                                        Class<?> where, Object... arguments) throws Exception {
        return expectPrivate(instance, methodName, where, null, arguments);
    }
public static synchronized < T > IExpectationSetters < T > expectPrivate ( Object instance , String methodName , Class < ? > where , Object ... arguments ) throws Exception { return expectPrivate ( instance , methodName , where , null , arguments ) ; }
Used to specify expectations on methods using the method name at a
specific place in the class hierarchy (specified by the
{@code where} parameter). Works on for example private or package
private methods.