def METHOD_NAME(self):
    callback = PythonGetters()
    with self.assertRaises(SimpleError.BadArgument):
        rust_getters.get_string(callback, "bad-argument", True)
    with self.assertRaises(SimpleError.UnexpectedError):
        rust_getters.get_string(callback, "unexpected-error", True)
    with self.assertRaises(SimpleError.BadArgument):
        rust_getters.get_nothing(callback, "bad-argument")
    with self.assertRaises(SimpleError.UnexpectedError):
        rust_getters.get_nothing(callback, "unexpected-error")