def __call__(self, *args, **kwargs):
        '''
        When calling the new function, strip out the first arg which is
        the type. In this way, the mocker writes their expectation as if it
        was an __init__.
        '''
        return super(StubNew, self).__call__(*(args[1:]), **kwargs)
def __call__ ( self , * args , ** kwargs ) : return super ( StubNew , self ) . __call__ ( * ( args [ 1 : ] ) , ** kwargs )
When calling the new function, strip out the first arg which is
        the type. In this way, the mocker writes their expectation as if it
        was an __init__.