@Test
public void testGetMaskForColor() {

    assertEquals(new Color(0, 0, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 255, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 255, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 0, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 255, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 0, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 127, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 127, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 255, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 0, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 0, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 0, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 127, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 127, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 127, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 255, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 255, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 255, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 0, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 127, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 127, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 127, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 255, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 0, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 63, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 63, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 63, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 63, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 127, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 191, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 191, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 191, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 191, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 191, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 255, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(0, 255, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 0, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 0, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 0, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 0, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 0, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 63, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 63, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 63, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 63, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 63, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 127, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 127, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 127, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 127, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 127, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 191, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 191, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 191, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 191, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 191, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 255, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 255, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 255, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 255, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(63, 255, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 0, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 0, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 63, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 63, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 63, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 63, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 63, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 127, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 127, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 191, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 191, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 191, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 191, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 191, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 255, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(127, 255, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 0, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 0, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 0, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 0, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 0, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 63, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 63, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 63, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 63, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 63, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 127, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 127, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 127, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 127, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 127, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 191, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 191, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 191, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 191, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 255, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 255, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 255, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(191, 255, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 0, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 0, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 63, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 63, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 63, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 63, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 63, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 127, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 127, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 191, 0), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 191, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 191, 127), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 191, 191), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 191, 255), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 255, 63), colorProvider.getMaskColor("dummy"));
    assertEquals(new Color(255, 255, 191), colorProvider.getMaskColor("dummy"));
}