test_class.declarator: classUnderTest = null
test_class.modifier: private
test_class.original_string: private DebugBorder classUnderTest = null;
test_class.type: DebugBorder
test_class.var_name: classUnderTest
test_class.declarator: mockBorder = mockHelper.createMock(Border.class)
test_class.modifier: private
test_class.original_string: private Border mockBorder = mockHelper.createMock(Border.class);
test_class.type: Border
test_class.var_name: mockBorder
test_class.declarator: mockComponent = mockHelper.createMock(Component.class)
test_class.modifier: private
test_class.original_string: private Component mockComponent = mockHelper.createMock(Component.class);
test_class.type: Component
test_class.var_name: mockComponent
test_class.declarator: insets = new Insets(1,1,1,1)
test_class.modifier: private
test_class.original_string: private Insets insets = new Insets(1,1,1,1);
test_class.type: Insets
test_class.var_name: insets
test_class.file: sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/gui/debug/DebugBorderTest.java
test_class.identifier: DebugBorderTest
test_class.superclass: extends BaseSQuirreLJUnit4TestCase
test_case.body: @Test
  	public void testPaintBorder()
  	{
  		Graphics g = mockHelper.createMock(Graphics.class);
  		int x = 0;
  		int y = 0;
  		int width = 10;
  		int height = 10;
  		
  
  		mockBorder.paintBorder(mockComponent, g, x, y, width, height);
  		expect(mockBorder.getBorderInsets(mockComponent)).andStubReturn(insets);
  		g.setColor(isA(Color.class));
  		g.fillRect(anyInt(), anyInt(), anyInt(), anyInt());
  		expectLastCall().anyTimes();
  		
  		mockHelper.replayAll();		
  		classUnderTest.paintBorder(mockComponent, g, x, y, width, height);
  		mockHelper.verifyAll();
  	}
test_case.class_method_signature: DebugBorderTest.testPaintBorder()
test_case.full_signature: @Test public void testPaintBorder()
test_case.identifier: testPaintBorder
test_case.invocations: createMock paintBorder andStubReturn expect getBorderInsets setColor isA fillRect anyInt anyInt anyInt anyInt anyTimes expectLastCall replayAll paintBorder verifyAll
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPaintBorder()
focal_class.declarator: b
focal_class.modifier: private
focal_class.original_string: private Border b;
focal_class.type: Border
focal_class.var_name: b
focal_class.file: sql12/fw/src/main/java/net/sourceforge/squirrel_sql/fw/gui/debug/DebugBorder.java
focal_class.identifier: DebugBorder
focal_class.interfaces: implements Border
focal_class.class_method_signature: DebugBorder.DebugBorder(Border b)
focal_class.full_signature: public  DebugBorder(Border b)
focal_class.identifier: DebugBorder
focal_class.modifiers: public
focal_class.parameters: (Border b)
focal_class.signature:  DebugBorder(Border b)
focal_class.class_method_signature: DebugBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
focal_class.full_signature: public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
focal_class.identifier: paintBorder
focal_class.modifiers: public
focal_class.parameters: (Component c, Graphics g, int x, int y, int width, int height)
focal_class.return: void
focal_class.signature: void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
focal_class.class_method_signature: DebugBorder.getBorderInsets(Component c)
focal_class.full_signature: public Insets getBorderInsets(Component c)
focal_class.identifier: getBorderInsets
focal_class.modifiers: public
focal_class.parameters: (Component c)
focal_class.return: Insets
focal_class.signature: Insets getBorderInsets(Component c)
focal_class.class_method_signature: DebugBorder.isBorderOpaque()
focal_class.full_signature: public boolean isBorderOpaque()
focal_class.identifier: isBorderOpaque
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isBorderOpaque()
focal_class.class_method_signature: DebugBorder.getDelegate()
focal_class.full_signature: public Border getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Border
focal_class.signature: Border getDelegate()
focal_method.body: public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
          b.paintBorder(c, g, x, y, width, height);
          Insets insets = b.getBorderInsets(c);
          Color layerColor = new Color(0.0f, 1.0f, 0.0f, 0.35f);
          g.setColor(layerColor);
          // top
          g.fillRect(x, y, width, insets.top);
          // left
          g.fillRect(x, y + insets.top, insets.left, height - insets.bottom - insets.top);
          // bottom
          g.fillRect(x, y + height - insets.bottom, width, insets.bottom);
          // right
          g.fillRect(x + width - insets.right, y + insets.top, insets.right, height - insets.bottom - insets.top);
      }
focal_method.class_method_signature: DebugBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
focal_method.full_signature: public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
focal_method.identifier: paintBorder
focal_method.invocations: paintBorder getBorderInsets setColor fillRect fillRect fillRect fillRect
focal_method.modifiers: public
focal_method.parameters: (Component c, Graphics g, int x, int y, int width, int height)
focal_method.return: void
focal_method.signature: void paintBorder(Component c, Graphics g, int x, int y, int width, int height)