{
MockPainter mockBackgroundPainter = new MockPainter();
BackgroundPainter.instance = mockBackgroundPainter;
MockPainter mockBorderPainter = new MockPainter();
BorderPainter.instance = mockBorderPainter;
MockProp panel = new MockProp();
MockGraphics graphics = new MockGraphics();
DefaultPainter.instance.paint(graphics, panel);
assertEquals(true, mockBackgroundPainter.painted);