def METHOD_NAME(self):
    orig = cupy.ndarray
    with testing.AssertFunctionIsCalled(
            'cupy.ndarray', wraps=cupy.ndarray):
        a = cupy.ndarray((2, 3), numpy.float32)
    assert cupy.ndarray is orig
    assert isinstance(a, cupy.ndarray)