def METHOD_NAME(self):
    with self.assertLogs(experimental.__module__, "WARNING") as cm:
        # We want to assert there are no warnings, but the 'assertLogs' method does not support that.
        # Therefore, we are adding a dummy warning, and then we will assert it is the only warning.
        logging.getLogger(experimental.__module__).warning("Dummy warning")
        schema = FooSchema()
        input_data = {"mock_field": {}}
        schema.load(input_data)
    self.assertEqual(1, len(cm.output))