@Test
public void testNonEmptyValue() {

    assertFalse("null is empty", JavaxJson.nonEmptyValue(null));
    assertFalse("JsonObject.NULL is empty",
            JavaxJson.nonEmptyValue(JsonValue.NULL));
    assertFalse("an empty JsonArray is empty",
            JavaxJson.nonEmptyValue(Json.createArrayBuilder().build()));
    assertFalse("an empty JsonObject is empty",
            JavaxJson.nonEmptyValue(Json.createObjectBuilder().build()));
    assertTrue("some string is non-empty", JavaxJson.nonEmptyValue(wrap("foo")));
}