def test_get_most_common_words(self): obj = WordCounter() obj.text_content = self.content self.assertEqual(obj.get_most_common_words(2), [('Four', 4), ('Three', 3)])