@Test
public void createSimpleColorGroupUsingMap() throws Exception {

  ImmutableMap<TestStates, Color> colorMap = ImmutableMap.<TestStates, Color>builder()
    .put(TestStates.A, COLOR_A_0)
    .put(TestStates.B, COLOR_B_0)
    .put(TestStates.C, COLOR_C_0)
    .build();
  EnumColors<TestStates> g = new EnumColors<>(colorMap);
  assertThat(g.getColor(TestStates.A)).isEqualTo(COLOR_A_0);
  assertThat(g.getColor(TestStates.B)).isEqualTo(COLOR_B_0);
  assertThat(g.getColor(TestStates.C)).isEqualTo(COLOR_C_0);
}