@Test public void addNode_givenNodesIsEmpty_thenNodesSizeEquals1() { g.addNode(); Assert.assertEquals(1, getNodes().size()); }
public Integer addNode() { throw new RuntimeException("Not yet implemented."); }
Graph { public Integer addNode() { throw new RuntimeException("Not yet implemented."); } }
Graph { public Integer addNode() { throw new RuntimeException("Not yet implemented."); } Graph(); }
Graph { public Integer addNode() { throw new RuntimeException("Not yet implemented."); } Graph(); Integer addNode(); Node getNode(Integer id); void addEdge(Node a, Node b); }
Graph { public Integer addNode() { throw new RuntimeException("Not yet implemented."); } Graph(); Integer addNode(); Node getNode(Integer id); void addEdge(Node a, Node b); public ArrayList<Node> nodes; }