@Test
public void testBorderInsets() throws Exception {

	JButton btn = new JButton("hey");
	int left = blab.getBorderInsets(textField).left;
	int btnWidth = btn.getPreferredSize().width;
	BuddySupport.addLeft(btn, textField);
	assertSame(btn, BuddySupport.getLeft(textField).get(0));
	assertSame(left + btnWidth, blab.getBorderInsets(textField).left);
	btn.setVisible(false);
	assertSame(left, blab.getBorderInsets(textField).left);
}