def setUp(self):
node1 = DomainNode(name="<STR_LIT>")<EOL>node2 = DomainNode(name="<STR_LIT>")<EOL>edge1 = DomainEdge(source=node1, target=node2)<EOL>model = DomainModel(nodes=[node1, node2], edges=[edge1])<EOL>self.view_model = DomainViewModel(model=model)<EOL>
Prepares the test fixture before each test method is called.