action.setField("body");
Message message = new Message();
message.setProperty("body", "{ \"number\": 2, \"boolean\": false, \"string\": \"this is a test\", \"double\": 2.23 }");
action.execute(message);
Assert.assertEquals(message.getProperty("number", int.class).intValue(), 2);
Assert.assertEquals(message.getProperty("boolean", Boolean.class).booleanValue(), false);
Assert.assertEquals(message.getProperty("string", String.class), "this is a test");
Assert.assertEquals(message.getProperty("double", Double.class).doubleValue(), 2.23);