*/
private void checkPathSegments(List<PathSegment> pathSegments,
String path0, int tpSize0, String path1, int tpSize1, String path2,
int tpSize2) {
assertEquals(3, pathSegments.size());
final PathSegment pathSegment0 = pathSegments.get(0);
final PathSegment pathSegment1 = pathSegments.get(1);
final PathSegment pathSegment2 = pathSegments.get(2);
assertEquals(path0, pathSegment0.getPath());
assertEquals(tpSize0, pathSegment0.getMatrixParameters().size());
assertEquals(path1, pathSegment1.getPath());
assertEquals(tpSize1, pathSegment1.getMatrixParameters().size());
assertEquals(path2, pathSegment2.getPath());
assertEquals(tpSize2, pathSegment2.getMatrixParameters().size());
}