def METHOD_NAME(self):
    """Test the presence of required attributes."""
    required_attributes = ("interpolator",)
    for attribute in required_attributes:
        self.assertIn(attribute, dir(Extrapolator))