def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def test_base_class_reject_raises_error(self):
        with self.assertRaisesRegex(
            NotImplementedError,
            'Subclasses of BaseVoiceoverApplication should implement reject.'):
            self.base_voiceover_application.reject()