def test_canSetApiObject(self): tracker = Tracker() apiObject = mock() tracker.apiObject(apiObject) self.assertEqual(tracker.apiObject_, apiObject)