def test_description_setter(self): textObject = TextObject("Test", "Test") textObject.description = "None" self.assertEqual(textObject.description, "None")
def test_description_setter_Empty_String(self): textObject = TextObject("Test","Test") with self.assertRaises(EmptyStringException): textObject.description=""