assertEquals(propertyPaths.length, propertyPathsOfViolations.size(),
"Wrong number of property paths. Expected: " + propertyPaths.length
+ " Actual: " + propertyPathsOfViolations.size());
for (String propertyPath : propertyPaths) {
Path expectedPath = PathImpl.createPathFromString(propertyPath);
boolean containsPath = false;
for (Path actualPath : propertyPathsOfViolations) {
if (assertEqualPaths(expectedPath, actualPath)) {
containsPath = true;
break;