@Test public void testGraphTerminalOperation(){ GraphTerminalOperation graphTerminalOperation = new GraphTerminalOperation(); Name name = Attribute.Name.valueOf("test-name"); graphTerminalOperation.include(name); Family namespace = Attribute.Family.valueOf("test-namespace"); graphTerminalOperation.include(namespace); assertEquals(graphTerminalOperation.getNameList().get(0), name); assertEquals(graphTerminalOperation.getNamespaceList().get(0), namespace); assertEquals(graphTerminalOperation.toString(), "Graph Terminal Operation"); }
public GraphTerminalOperation() { super(); nameList = new ArrayList<>(); namespaceList = new ArrayList<>(); }
GraphTerminalOperation implements TerminalOperation { public GraphTerminalOperation() { super(); nameList = new ArrayList<>(); namespaceList = new ArrayList<>(); } }
GraphTerminalOperation implements TerminalOperation { public GraphTerminalOperation() { super(); nameList = new ArrayList<>(); namespaceList = new ArrayList<>(); } GraphTerminalOperation(); }
GraphTerminalOperation implements TerminalOperation { public GraphTerminalOperation() { super(); nameList = new ArrayList<>(); namespaceList = new ArrayList<>(); } GraphTerminalOperation(); List<Name> getNameList(); List<Family> getNamespaceList(); @Override String toString(); @Override void include(Name name); @Override void include(Family namespace); }
GraphTerminalOperation implements TerminalOperation { public GraphTerminalOperation() { super(); nameList = new ArrayList<>(); namespaceList = new ArrayList<>(); } GraphTerminalOperation(); List<Name> getNameList(); List<Family> getNamespaceList(); @Override String toString(); @Override void include(Name name); @Override void include(Family namespace);  }