@Test
public void testSetNullPainters() {

    CompoundPainter<Object> painter = new CompoundPainter<Object>();
    // changed to cast to Painter, since uncasted it is equivalent to
    // Painter[], which is checked in the next test
    painter.setPainters((Painter<?>) null);
}