def METHOD_NAME(self):
    a = dvector()
    a_out = a * 2  # assuming the op which makes this "in place" triggers
    # using mutable=True will let f change the value in aval
    f = function([In(a, mutable=True)], a_out, mode="FAST_RUN")
    aval = np.random.random((10,))
    aval2 = aval.copy()
    assert np.array_equal(f(aval), (aval2 * 2))
    assert not np.array_equal(aval, aval2)
    # using mutable=False should leave the input untouched
    f = function([In(a, mutable=False)], a_out, mode="FAST_RUN")
    aval = np.random.random((10,))
    aval2 = aval.copy()
    assert np.array_equal(f(aval), (aval2 * 2))
    assert np.array_equal(aval, aval2)