code: private void validateJsonPrimitiveType(JsonValue value) {
          Log.info(thisClass, "validateJsonPrimitiveType", "Validating the value for the expected key as a JSON primitive value");
          for (ValueType primitiveType : jsonPrimitiveTypes) {
              if (valueType == primitiveType) {
                  assertEquals("Value was expected to be a " + primitiveType + " ValueType, but was not. Value was [" + value + "].", primitiveType, value.getValueType());
              }
          }
      }
docs: The expected value provided in the constructor (if there was one) is superfluous if we're validating a JSON primitive (i.e.
  null, true, or false). Specifying an expected ValueType of one of those types is sufficient to validate the value, so we
  ignore the expected value variables here.