@Test
public void testPreferredWidth() throws Exception {

	JButton btn = new JButton("hey");
	int txtWidth = textField.getPreferredSize().width;
/		int btnWidth = btn.getPreferredSize().width;
	assertSame(txtWidth, blab.preferredLayoutSize(textField).width);
	BuddySupport.addLeft(btn, textField);
	assertSame(String.format("preferred layout size should be %d", txtWidth),
			txtWidth, blab.preferredLayoutSize(textField).width);
	btn.setVisible(false);
	assertSame(txtWidth, blab.preferredLayoutSize(textField).width);
}