def METHOD_NAME(self):
    field = fields.Field(attribute="foo", column_name="bar")
    # `field_name` is the variable name defined in `Resource`
    resource_field_name = "field"
    method_name = field.get_dehydrate_method(resource_field_name)
    self.assertEqual(f"dehydrate_{resource_field_name}", method_name)