### Question:
DocumentRevs { @JsonAnyGetter public Map<String, Object> getOthers() { return this.others; }  @JsonAnySetter void setOthers(String name, Object value); @JsonAnyGetter Map<String, Object> getOthers(); String getId(); void setId(String id); String getRev(); void setRev(String rev); Revisions getRevisions(); void setRevisions(Revisions revisions); Boolean getDeleted(); void setDeleted(Boolean deleted); Map<String, Object> getAttachments(); void setAttachments(Map<String, Object> attachments); @Override String toString();  }### Answer:
@Test public void deserialization_others() throws IOException { String s = FileUtils.readFileToString(TestUtils.loadFixture("fixture/document_revs_others.json")); DocumentRevs documentRevs = JSONUtils.fromJson(new StringReader(s), DocumentRevs.class); Map<String, Object> others = documentRevs.getOthers(); Assert.assertThat(others.keySet(), hasSize(2)); Assert.assertThat(others.keySet(), hasItems("a", "b")); Assert.assertEquals("A", others.get("a")); Assert.assertEquals("B", others.get("b")); }