@SuppressWarnings("unchecked")
    public static synchronized <T> IExpectationSetters<T> expectNew(String fullyQualifiedName, Object... arguments)
            throws Exception {
        final Class<?> forName = Class.forName(fullyQualifiedName);
        return (IExpectationSetters<T>) doExpectNew(forName, new DefaultMockStrategy(), null, arguments);
    }
@ SuppressWarnings ( "unchecked" ) public static synchronized < T > IExpectationSetters < T > expectNew ( String fullyQualifiedName , Object ... arguments ) throws Exception { final Class < ? > forName = Class . forName ( fullyQualifiedName ) ; return ( IExpectationSetters < T > ) doExpectNew ( forName , new DefaultMockStrategy ( ) , null , arguments ) ; }
Allows specifying expectations on new invocations for private member
(inner) classes, local or anonymous classes. For example you might want
to throw an exception or return a mock. Note that you must replay the
class when using this method since this behavior is part of the class
mock.

@param fullyQualifiedName The fully-qualified name of the inner/local/anonymous type to
expect.
@param arguments          Optional number of arguments.