Code example for JLabel

Methods: getText

0
		assertEquals("TEST", value);
	} 
	 
	@Test
	public void testSetter() { 
		JLabel label = new JLabel("TEST");
		 
		PropertyUtils.setProperty(label, "text", "NEW TEST");
		assertEquals("NEW TEST", label.getText());
	} 
	 
 
}