### Question:
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { private XWikiDocument convertFromDocument(Document document) { return document.getDocument(); }  @Override G convert(Type targetType, Object sourceValue); @Override XWikiDocument convertToType(Type targetType, Object sourceValue);  }### Answer:
@Test void convertFromDocument() { assertSame(this.xWikiDocument, documentConverter.convert(XWikiDocument.class, document)); }