### Question:
DebugBorder implements Border { public Insets getBorderInsets(Component c) { return b.getBorderInsets(c); } 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 testGetBorderInsets() { expect(mockBorder.getBorderInsets(mockComponent)).andReturn(insets); mockHelper.replayAll(); assertEquals(insets, classUnderTest.getBorderInsets(mockComponent)); mockHelper.verifyAll(); }