### Question:
JsonValue implements IJsonValue { @Nonnull public static JsonValue create (final boolean bValue) { return bValue ? TRUE : FALSE; } protected  JsonValue(@Nullable final Object aValue); final boolean isArray(); final boolean isObject(); final boolean isValue(); @Nullable Object getValue(); boolean isBooleanValue(); boolean isIntValue(); boolean isDecimalValue(); boolean isStringValue(); @Nonnull static IJsonValueSerializer getDefaultJsonValueSerializer(); @Nonnull IJsonValueSerializer getValueSerializer(); void appendAsJsonString(@Nonnull @WillNotClose final Writer aWriter); @Nonnull JsonValue getClone(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Nonnull static JsonValue create(final boolean bValue); @Nonnull static JsonValue create(final char cValue); @Nonnull static JsonValue create(final double dValue); @Nonnull static JsonValue create(final int nValue); @Nonnull static JsonValue create(final long nValue); @Nonnull @SuppressFBWarnings ("RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN") static JsonValue create(@Nullable final Object aValue); static final JsonValue NULL; static final JsonValue TRUE; static final JsonValue FALSE; }### Answer:
@Test public void testCache () { for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; ++i) assertNotNull (JsonValue.create ((byte) i)); for (int i = -200; i < 200; ++i) assertNotNull (JsonValue.create (i)); for (long i = -200; i < 200; ++i) assertNotNull (JsonValue.create (i)); }
@Test public void testGetAsValue () { assertNull (new JsonArray ().getAsValue ()); assertNull (new JsonObject ().getAsValue ()); assertNotNull (JsonValue.create (true).getAsValue ()); }