def test_match(self):
        for word in self.VALID_WORDS:
            analyzer = InterjectionMorphologicalAnalyzer(word)
            matches = analyzer.match()

            assert matches is not None
            assert len(matches.span()) == 2
    def test_match_empty(self):
        for word in self.INVALID_WORDS:
            analyzer = InterjectionMorphologicalAnalyzer(word)
            matches = analyzer.match()

            assert matches is None