@Test
public void highlightIsSelected() {

    IChemObject chemObject = mock(IChemObject.class);
    when(chemObject.getProperty(StandardGenerator.HIGHLIGHT_COLOR)).thenReturn(Color.RED);
    assertTrue(SelectionVisibility.isSelected(chemObject, new RendererModel()));
}