### Question:
DebugBorder implements Border { public Border getDelegate() { return b; } DebugBorder(Border b); void paintBorder(Component c, Graphics g, int x, int y, int width, int height); Insets getBorderInsets(Component c); boolean isBorderOpaque(); Border getDelegate();  }### Answer:
@Test public void testGetDelegate() { mockHelper.replayAll(); assertEquals(mockBorder, classUnderTest.getDelegate()); mockHelper.verifyAll(); }