@Test public void testAddColorAddsColorToAvailablePool() throws Exception { GraphColor expected = graphColors[2]; assertEquals(expected, fixture.getColor()); fixture.addColor(expected.getPrimary()); assertEquals(expected, fixture.getColor()); }
@Test public void testAddColorAddsColorToAvailablePool() throws Exception { GraphColor expected = graphColors[2]; assertEquals(expected, fixture.getColor()); fixture.addColor(expected.getPrimary()); assertEquals(expected, fixture.getColor()); }