def test_it_returns_the_value_of_self_clickObject(self): data = {'to': 'foo', 'hop': 'bar'} command = Command(data) command.clickObject = 'test' result = command.getClickObject() self.assertEquals(result, 'test')