@Test
public void testUnmarshalling() throws Exception {
ExpressionEditorMessageJSONUnmarshaller unmarshaller = new ExpressionEditorMessageJSONUnmarshaller();
ExpressionEditorMessage message = unmarshaller.unmarshall(ExpressionEditorMessageMarshallingTest.class.getResourceAsStream("condition_editor_message.json"));
assertNotNull("json message was not marshalled", message);
assertNotNull("condition expression was not marshalled", message.getExpression());
assertEquals("OR", message.getExpression().getOperator());