def setUp(self):
self.mapping = Mapping(<EOL>nodes=[<EOL>NodeMapping(<EOL>containment_trait="<STR_LIT>", element=DomainNode,<EOL>dot_node=DotGraphNode(shape=NODE_SHAPE),<EOL>tools=[MoveTool, ElementTool]<EOL>),<EOL>NodeMapping(<EOL>containment_trait="<STR_LIT>", element=OtherNode,<EOL>dot_node=DotGraphNode(shape=OTHER_NODE_SHAPE),<EOL>tools=[MoveTool, ElementTool]<EOL>)<EOL>]<EOL>)<EOL>node1 = DomainNode(name="<STR_LIT>")<EOL>node2 = DomainNode(name="<STR_LIT>")<EOL>self.model = DomainModel(<EOL>nodes=[node1, node2],<EOL>edges=[DomainEdge(source=node1, target=node2)]<EOL>)<EOL>return<EOL>
Prepares the test fixture before each test method is called.