address.add(PARAM, "password");
operation.get(OP_ADDR).set(address);
operation.get(VALUE).set("${mypassword:default}");
ModelNode mainResult = mainServices.executeOperation(operation);
assertEquals(mainResult.toJSONString(true), SUCCESS, mainResult.get(OUTCOME).asString());
<BUG>try {</BUG>
TransformedOperation transformedOperation = mainServices.transformOperation(version_1_1_0, operation);
<BUG>fail("should reject the expression,instead got " + transformedOperation.getTransformedOperation().toJSONString(true));
} catch (OperationFailedException e) {
}</BUG>
}

address.add(PARAM, "password");
operation.get(OP_ADDR).set(address);
operation.get(VALUE).set("${mypassword:default}");
ModelNode mainResult = mainServices.executeOperation(operation);
assertEquals(mainResult.toJSONString(true), SUCCESS, mainResult.get(OUTCOME).asString());
TransformedOperation transformedOperation = mainServices.transformOperation(version_1_1_0, operation);
final ModelNode result = mainServices.executeOperation(version_1_1_0, transformedOperation);
Assert.assertEquals("should reject the expression", FAILED, result.get(OUTCOME).asString());
