def test_getId(self): activity = Activity(12, datetime(2013, 11, 21, 23, 40), "info") self.assertEqual(activity.getId(), 12)