@@ -0,0 +1,716 @@
+package de.bmoth.parser.ast.nodes;%0A%0Aimport de.bmoth.parser.Parser;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class NodeTest %7B%0A    MachineNode machine;%0A%0A    @Before%0A    public void init() %7B%0A        machine = Parser.getMachineAsSemanticAst(%22MACHINE OpNodeMachine%5CnVARIABLES x%5CnINVARIANT x:INTEGER%5CnOPERATIONS set = BEGIN x := 1 END%5CnEND%22);%0A    %7D%0A%0A    @Test%0A    public void testOperationNode() %7B%0A        OperationNode opnode = machine.getOperations().get(0);%0A        assertEquals(%22set%22, opnode.getName());%0A        assertEquals(%22set = BEGIN x := 1 END%22, opnode.toString());%0A        assertEquals(%22%5Bx%5D%22, opnode.getAssignedDeclarationNodes().toString());%0A    %7D%0A%7D%0A

add NodeTest for better coverage