### Question:
SolrEntityReferenceResolver implements EntityReferenceResolver<SolrDocument> { @Override public EntityReference resolve(SolrDocument solrDocument, EntityType type, Object... parameters) { EntityReference solrEntityReference = getEntityReference(solrDocument, type, parameters); return this.explicitReferenceEntityReferenceResolver.resolve(solrEntityReference, type, parameters); }  @Override EntityReference resolve(SolrDocument solrDocument, EntityType type, Object... parameters); static final Type TYPE; }### Answer:
@Test public void resolve() throws Exception { WikiReference wikiReference = new WikiReference("chess"); assertReference(wikiReference); assertReference(new SpaceReference("Success", new SpaceReference("To", new SpaceReference("Path", wikiReference)))); DocumentReference documentReference = new DocumentReference("chess", Arrays.asList("Path", "To", "Success"), "WebHome", Locale.FRENCH); assertReference(documentReference); assertReference(new AttachmentReference("image.png", documentReference)); ObjectReference objectReference = new ObjectReference("App.Code.PlayerClass[13]", documentReference); assertReference(objectReference); assertReference(new ObjectPropertyReference("age", objectReference)); }