testPathSegmentWithTwoMatrixValues(segment);
}
public void testClone() {
PathSegmentImpl segment = new PathSegmentImpl(PATH_WITH_TWO_MATRIX_VALUES);
testPathSegmentWithTwoMatrixValues(segment.clone());
}
private void testPathSegmentWithTwoMatrixValues(PathSegment segment) {
assertEquals("matrix", segment.getPath());
MultivaluedMap<String, String> matrixParameters = segment.getMatrixParameters();