public String getMessage() {
        return getFieldAs(String.class, FIELD_MESSAGE);
    }
@Test
    public void testGetMessage() throws Exception {
        assertEquals("foo", message.getMessage());
    }