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