@Test void convertToString() { when(serializer.serialize(xWikiDocument.getDocumentReference())).thenReturn("reference"); assertSame("reference", documentConverter.convert(String.class, xWikiDocument)); }
@Override protected String convertToString(XWikiDocument value) { return this.serializer.serialize(value.getDocumentReference()); }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { @Override protected String convertToString(XWikiDocument value) { return this.serializer.serialize(value.getDocumentReference()); } }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { @Override protected String convertToString(XWikiDocument value) { return this.serializer.serialize(value.getDocumentReference()); }  }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { @Override protected String convertToString(XWikiDocument value) { return this.serializer.serialize(value.getDocumentReference()); }  @Override G convert(Type targetType, Object sourceValue); @Override XWikiDocument convertToType(Type targetType, Object sourceValue); }
XWikiDocumentConverter extends AbstractConverter<XWikiDocument> { @Override protected String convertToString(XWikiDocument value) { return this.serializer.serialize(value.getDocumentReference()); }  @Override G convert(Type targetType, Object sourceValue); @Override XWikiDocument convertToType(Type targetType, Object sourceValue);  }