### Question:
DebugBorder implements Border { public boolean isBorderOpaque() { return b.isBorderOpaque(); } 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 testIsBorderOpaque() { expect(mockBorder.isBorderOpaque()).andStubReturn(true); mockHelper.replayAll(); assertTrue(classUnderTest.isBorderOpaque()); mockHelper.verifyAll(); }