@Test public void testGetDefaultValue() { assertEquals( DEFAULT_DOCUMENT_REFERENCE.appendParent(DEFAULT_SPACE_REFERENCE.appendParent(DEFAULT_WIKI_REFERENCE)), this.provider.get()); }
@Override public DocumentReference get() { if (this.cachedReference == null) { EntityReference reference = this.provider.getDefaultReference(EntityType.DOCUMENT); reference = reference.appendParent(this.spaceReferenceProvider.get()); this.cachedReference = this.factory.getReference(new DocumentReference(reference)); } return this.cachedReference; }
DefaultDocumentReferenceProvider implements Provider<DocumentReference> { @Override public DocumentReference get() { if (this.cachedReference == null) { EntityReference reference = this.provider.getDefaultReference(EntityType.DOCUMENT); reference = reference.appendParent(this.spaceReferenceProvider.get()); this.cachedReference = this.factory.getReference(new DocumentReference(reference)); } return this.cachedReference; } }
DefaultDocumentReferenceProvider implements Provider<DocumentReference> { @Override public DocumentReference get() { if (this.cachedReference == null) { EntityReference reference = this.provider.getDefaultReference(EntityType.DOCUMENT); reference = reference.appendParent(this.spaceReferenceProvider.get()); this.cachedReference = this.factory.getReference(new DocumentReference(reference)); } return this.cachedReference; }  }
DefaultDocumentReferenceProvider implements Provider<DocumentReference> { @Override public DocumentReference get() { if (this.cachedReference == null) { EntityReference reference = this.provider.getDefaultReference(EntityType.DOCUMENT); reference = reference.appendParent(this.spaceReferenceProvider.get()); this.cachedReference = this.factory.getReference(new DocumentReference(reference)); } return this.cachedReference; }  @Override DocumentReference get(); }
DefaultDocumentReferenceProvider implements Provider<DocumentReference> { @Override public DocumentReference get() { if (this.cachedReference == null) { EntityReference reference = this.provider.getDefaultReference(EntityType.DOCUMENT); reference = reference.appendParent(this.spaceReferenceProvider.get()); this.cachedReference = this.factory.getReference(new DocumentReference(reference)); } return this.cachedReference; }  @Override DocumentReference get();  }