### Question:
Documents { public static String getRevision(Object document) { return getAccessor(document).getRevision(document); }  static void registerAccessor(Class<?> documentType, DocumentAccessor accessor); static String getId(Object document); static void setId(Object document, String id); static String getRevision(Object document); static void setRevision(Object document, String rev); static boolean isNew(Object document);  }### Answer:
@Test public void should_handle_getRev_on_map() { assertEquals(mapDoc.get("_rev"), Documents.getRevision(mapDoc)); }
@Test public void should_handle_getRev_on_JsonNode() { assertEquals("jsonNode_rev", Documents.getRevision(nodeDoc)); }