@Test
public void testSearchFieldPropertyChangeEvent() throws Exception {

	tf.addPropertyChangeListener(NativeSearchFieldSupport.MAC_TEXT_FIELD_VARIANT_PROPERTY, this);
	NativeSearchFieldSupport.setSearchField(tf, true);
	Assert.assertTrue(eventFired);
	eventFired = false;
	NativeSearchFieldSupport.setSearchField(tf, true);
	Assert.assertTrue(eventFired);
}