concept another test in category software development
appears as: nother test

This is an excerpt from Manning's book Test Driven: Practical TDD and Acceptance TDD for Java Developers.
Listing 8.19. Adding another test for the component’s background color
public class TestPlotMapCanvasImpl extends ComponentTestFixture { private Component canvas; @Override protected void setUp() throws Exception { super.setUp(); canvas = new PlotMapCanvasImpl(); } @Test public void testDimensionsShouldBeAutomaticallySet() throws Exception { showFrame(canvas); assertEquals(new Dimension(200, 100), canvas.getSize()); assertEquals(canvas.getSize(), canvas.getBounds().getSize()); } @Test public void testBackgroundColorIsWhite() throws Exception { assertEquals(Color.WHITE, canvas.getBackground()); } }