}
public int countTestCases() {
int testCaseCount = 0;
try {
URL entityXmlURL = FlexibleLocation.resolveLocation(entityXmlUrlString);
<BUG>List checkValueList = modelTestSuite.getDelegator().readXmlDocument(entityXmlURL);
</BUG>
testCaseCount = checkValueList.size();
} catch (Exception e) {
Debug.logError(e, "Error getting test case count", module);

}
public int countTestCases() {
int testCaseCount = 0;
try {
URL entityXmlURL = FlexibleLocation.resolveLocation(entityXmlUrlString);
List<GenericValue> checkValueList = modelTestSuite.getDelegator().readXmlDocument(entityXmlURL);
testCaseCount = checkValueList.size();
} catch (Exception e) {
Debug.logError(e, "Error getting test case count", module);
