@Test
public void applyBackgroundColor() {

    Group group = mock(Group.class);
    when(scenarioGridCell.isErrorMode()).thenReturn(true);
    scenarioGridColumnRenderer.applyBackgroundColor(scenarioGridCell, contextMock, group, themeMock);
    verify(group, times(1)).add(any());
    reset(group);
    when(scenarioGridCell.isErrorMode()).thenReturn(false);
    scenarioGridColumnRenderer.applyBackgroundColor(scenarioGridCell, contextMock, group, themeMock);
    verify(group, never()).add(any());
}