SingleColor extends IndexedColorMapper { public Paint getColor() { return color; } SingleColor(Paint color); @Override Paint get(int value); Paint getColor(); void setColor(Paint color); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testCreate() { SingleColor c = new SingleColor(Color.WHITE); assertEquals(Color.WHITE, c.getColor()); }