### Question:
MySchemaNameCharacters extends Parent { @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PROP2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProp2() { return prop2; }  MySchemaNameCharacters prop2(String prop2); @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PROP2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) String getProp2(); void setProp2(String prop2); @JsonAnySetter MySchemaNameCharacters putAdditionalProperty(String key, Object value); @JsonAnyGetter Map<String, Object> getAdditionalProperties(); Object getAdditionalProperty(String key); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String JSON_PROPERTY_PROP2; }### Answer:
@Test public void testMySchemaNameCharacters() { String objJson = "{ \"objectType\": \"MySchemaName._-Characters\", \"prop2\":\"some_value\" }"; try { JSON j = new JSON(); MySchemaNameCharacters obj = j.getMapper().readValue(objJson, MySchemaNameCharacters.class); Assert.assertEquals(obj.getObjectType(), "MySchemaName._-Characters"); Assert.assertEquals(obj.getProp2(), "some_value"); } catch (Exception ex) { Assert.fail("Exception '" + ex.getMessage() + "' should not have been raised"); } }