@Test void resolve() { DocumentReference documentReference = new DocumentReference("wiki", "space", "page"); UserReference userReference = this.resolver.resolve(new XWikiUser(documentReference)); verify(this.documentReferenceUserReferenceResolver).resolve(documentReference); }
@Override public UserReference resolve(XWikiUser xwikiUser, Object... parameters) { return this.documentReferenceUserReferenceResolver.resolve(xwikiUser.getUserReference(), parameters); }
XWikiUserUserReferenceResolver implements UserReferenceResolver<XWikiUser> { @Override public UserReference resolve(XWikiUser xwikiUser, Object... parameters) { return this.documentReferenceUserReferenceResolver.resolve(xwikiUser.getUserReference(), parameters); } }
XWikiUserUserReferenceResolver implements UserReferenceResolver<XWikiUser> { @Override public UserReference resolve(XWikiUser xwikiUser, Object... parameters) { return this.documentReferenceUserReferenceResolver.resolve(xwikiUser.getUserReference(), parameters); }  }
XWikiUserUserReferenceResolver implements UserReferenceResolver<XWikiUser> { @Override public UserReference resolve(XWikiUser xwikiUser, Object... parameters) { return this.documentReferenceUserReferenceResolver.resolve(xwikiUser.getUserReference(), parameters); }  @Override UserReference resolve(XWikiUser xwikiUser, Object... parameters); }
XWikiUserUserReferenceResolver implements UserReferenceResolver<XWikiUser> { @Override public UserReference resolve(XWikiUser xwikiUser, Object... parameters) { return this.documentReferenceUserReferenceResolver.resolve(xwikiUser.getUserReference(), parameters); }  @Override UserReference resolve(XWikiUser xwikiUser, Object... parameters);  }