thechiselgroup/biomixer — comment on commit d7ea0024188cf7eec12aaaad911593eb2f5499bf
File: jretest/org/thechiselgroup/biomixer/client/visualization_component/graph/layouts/TreeFactoryTest.java line 72
By lgrammel:

The idea of dummy nodes and arcs is nice. Not sure about the term, though. Here is an explanation of the differences between stubs, mocks, dummies and fake objects:

http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs

I would also think about combining DummaryArcContainer and DummyNodeContainer into something like DummyGraphStructure. You could set it up with n nodes, each node would automatically have a number between 0 ,,, n-1, and then you could have a createArc(int sourceNode, int targetNode) that creates an arc. Might be easier to read & understand.