public String getSource() {
        return getFieldAs(String.class, FIELD_SOURCE);
    }
@Test
    public void testGetSource() throws Exception {
        assertEquals("bar", message.getSource());
    }