def METHOD_NAME(self):
    mock_float = gen_mock_float()
    self._add_float_overload(mock_float)
    Dummy = self.Dummy
    @njit
    def foo(x):
        return mock_float(Dummy(x))
    self.assertEqual(foo(123), float(123))