Testing Maintenance Classes

There is a convenient test superclass for entity page maintenance, com.splwg.base.api.testers.EntityPageServiceTestCase. This test class requires several methods to be implemented to handle setting up the data and validating for each action (Add, Read, Change, Delete).

In case your maintenance is read and change only, so it does not support add and delete, then implement this method:


			    protected boolean isReadAndChangeOnly() {
			        return true;
			    }
			
		

The test framework will only exercise the read action.

Your maintenance test class must provide the name of the service being tested:


			    protected String getServiceName() {
			        return "CILTBTCP";
			    }