assert RestfulWebServiceWithMatrixParams.TOPLEVEL.equals(response.toString())
: response.toString();
}
public void shouldServiceVariableThreeLevelSubPath() {
WebResponse response = createInjector()
.getInstance(Web.class)
.clientOf(AcceptanceTest.baseUrl() + "/matrixpath/val;param1=val1;param2=val2/athing")
.transports(String.class)
.over(Json.class)
.post("");
assert ("{param1=[val1], param2=[val2]}" // Multimap of matrix params
+ "_" + "val;param1=val1;param2=val2" // Variable path fragment #1
+ "_" + "athing") // Variable path fragment #2
.equals(response.toString()) : response.toString();
}