# 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";
    			    }

- Testing Add on Maintenance Class
- Testing Change on Maintenance Class
- Testing Delete on Maintenance Class
- Test default actions on Maintenance Class
- The Comparisons
- Test default actions on Entity Page Maintenance Class

Parent topic: Standard test cases