@Test
public void testBuildRemoteUri() {

	String uri = "/client_xyz/app_abc/p/domainRoot_alias/nestedDomain/abc/_new?b=$executeAnd$save&criteria=customer.name.eq(\"John\")";
	Command cmd = CommandBuilder.withUri(uri).getCommand();
	assertNotNull(cmd);
	
	String buildUri = cmd.toRemoteUri(Type.ParamName, Action._new, Behavior.$execute);
	
	assertThat(buildUri).isEqualTo("/client_xyz/app_abc/p/domainRoot_alias/nestedDomain/abc/_new?b=$execute");
}