def testNoLastName(self): notice = Notice() notice.FirstName = "a" self.assertEqual(notice.name(), "a")
def testNoFirstName(self): notice = Notice() notice.LastName = "b" self.assertEqual(notice.name(), "b")
def testGetName(self): notice = Notice() notice.FirstName = "a" notice.LastName = "b" self.assertEqual(notice.name(), "a b")