ChartConfiguration { public String getFailedColorRgbaString() { if (failedColorRgbaString == null) { failedColorRgbaString = getRgbaColorStringFromHex(propertyManager.getCustomStatusColorFailed()); } return failedColorRgbaString; } @Inject  ChartConfiguration(final PropertyManager propertyManager); String getColorRgbaStringByStatus(final Status status); String getPassedColorRgbaString(); String getFailedColorRgbaString(); String getSkippedColorRgbaString();  }
@Test public void getFailedColorRgbaStringTest() { String color = chartConfiguration.getFailedColorRgbaString(); assertThat(color, is("rgba(0, 255, 0, 1.000)")); }