@Test public void testGetDefaultValue() { assertEquals(DEFAULT_DOCUMENT_REFERENCE, this.provider.getDefaultReference(EntityType.DOCUMENT)); assertEquals(DEFAULT_SPACE_REFERENCE, this.provider.getDefaultReference(EntityType.SPACE)); assertEquals(DEFAULT_ATTACHMENT_REFERENCE, this.provider.getDefaultReference(EntityType.ATTACHMENT)); assertEquals(DEFAULT_WIKI_REFERENCE, this.provider.getDefaultReference(EntityType.WIKI)); assertEquals(DEFAULT_PAGE_REFERENCE, this.provider.getDefaultReference(EntityType.PAGE)); assertEquals(DEFAULT_PAGE_ATTACHMENT_REFERENCE, this.provider.getDefaultReference(EntityType.PAGE_ATTACHMENT)); }
@Override public EntityReference getDefaultReference(EntityType type) { String value = this.configuration.getDefaultReferenceValue(type); return new EntityReference(value, type); }
DefaultEntityReferenceProvider implements EntityReferenceProvider { @Override public EntityReference getDefaultReference(EntityType type) { String value = this.configuration.getDefaultReferenceValue(type); return new EntityReference(value, type); } }
DefaultEntityReferenceProvider implements EntityReferenceProvider { @Override public EntityReference getDefaultReference(EntityType type) { String value = this.configuration.getDefaultReferenceValue(type); return new EntityReference(value, type); }  }
DefaultEntityReferenceProvider implements EntityReferenceProvider { @Override public EntityReference getDefaultReference(EntityType type) { String value = this.configuration.getDefaultReferenceValue(type); return new EntityReference(value, type); }  @Override EntityReference getDefaultReference(EntityType type); }
DefaultEntityReferenceProvider implements EntityReferenceProvider { @Override public EntityReference getDefaultReference(EntityType type) { String value = this.configuration.getDefaultReferenceValue(type); return new EntityReference(value, type); }  @Override EntityReference getDefaultReference(EntityType type);  }