@Test
public void testOmitNullWithNullInputs() {

    final OmitNullTestClass object = new OmitNullTestClass(null, null, null, null);
    final String actual = B2Json.toJsonOrThrowRuntime(object);
    // The omitNullString and omitNullInteger fields should not be present in the output
    assertEquals("{\n" +
            "  \"regularInteger\": null,\n" +
            "  \"regularString\": null\n" +
            "}", actual);
}