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