### Question:
AgnosticVisualizedGraph implements VisualizedGraph { @Override public boolean isSingleNode() { return containsSingleNode; } AgnosticVisualizedGraph(DefaultContainerCascade container, Area dimension, boolean containsSingleNode); @Override Area getDimension(); @Override boolean isSingleNode(); @Override void translateBy(double x, double y); @Override void addTo(AgnosticCascadeBuilder builder);  }### Answer:
@Test public void isNoSingleNode() throws Exception { assertThat(agnosticVisualizedGraph.isSingleNode(), is(false)); }
@Test public void isSingleNodeIfSoConstructed() throws Exception { AgnosticVisualizedGraph agnosticVisualizedGraph = new AgnosticVisualizedGraph(nodeContainer, dimension, true); assertThat(agnosticVisualizedGraph.isSingleNode(), is(true)); }