junit test method for getters & setters
问题 I have many java beans in my project. I need to generate a JUnit Test class for them. The test methods generated using Eclipse 3.2 & junit 4.4 look like the following: public void testGetName() { // fail("Not yet implemented"); } @Test public void testSetName() { // fail("Not yet implemented"); } @Test public void testGetEmployeeid() { // fail("Not yet implemented"); } @Test public void testSetEmployeeid() { // fail("Not yet implemented"); } some of my beans have more than 100 fields... Is