@Test void convertToEntityReference() { assertEquals(this.documentReference, documentConverter.convert(EntityReference.class, xWikiDocument)); }
private EntityReference convertToEntityReference(XWikiDocument document) { return document.getDocumentReference(); }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { private EntityReference convertToEntityReference(XWikiDocument document) { return document.getDocumentReference(); } }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { private EntityReference convertToEntityReference(XWikiDocument document) { return document.getDocumentReference(); }  }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { private EntityReference convertToEntityReference(XWikiDocument document) { return document.getDocumentReference(); }  @Override G convert(Type targetType, Object sourceValue); @Override XWikiDocument convertToType(Type targetType, Object sourceValue); }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { private EntityReference convertToEntityReference(XWikiDocument document) { return document.getDocumentReference(); }  @Override G convert(Type targetType, Object sourceValue); @Override XWikiDocument convertToType(Type targetType, Object sourceValue);  }