@Test
public void serializeNulls() {

    Gson gson = new GsonBuilder()
            .serializeNulls()
            .create();
    om = new GsonObjectMapper(gson);
    TestMe testMe = new TestMe(null, null, null);
    assertEquals("{\"text\":null,\"nmbr\":null,\"another\":null}", om.writeValue(testMe));
}