def test_get_total_words(self): obj = WordCounter() obj.text_content = self.content self.assertEqual(obj.get_total_words(), 10)