}
@Test
public void shouldDelegateToDefaultBorderPainterIfBorderColorIsSpecified() throws Exception
{
MockPainter defaultBorderPainter = new MockPainter();
BorderPainter.instance = defaultBorderPainter;
parent.getStyle().setTopBorderColor("blue");
painter.paint(graphics, parent);