To create the unit test class, follow these steps:
- Create a new class and name it ConVMSVehicleGroupTest. The suffix is important.
- In the code editor, change the declaration so that it extends SysTestCase.
- Next, we will need some constants for test cases that we expect to either succeed or fail. In this case, we will have the following:
const ConVMSVehicleGroupId groupId = '%VG01%'; const str notFound = '%ERROR%';
- The next part is to set up the test ...