def test_get_destination(self): a = Node('A') b = Node('B') e = Edge(a, b) self.assertTrue('B' == e.get_child().get_name())