It is possible to test getters and setters (properties) from your model class. Through a test class, it is done in no time.
In the test class of your model class, you add the following code:
@Test public void testGettersSetters() { PropertyAsserter.assertBasicGetterSetterBehavior(new ModelClassToTest()); }
ModelClassToTest = your class name you want to test
Download the source code here: [wpdm_file id=1]