@Test public void getFromReferenceReturnsNullWhenDocumentNotLoaded() throws Exception { when(this.dab.getDocument(PERSON_REFERENCE)).thenReturn(null); Person result = this.manager.get(PERSON_REFERENCE); Assert.assertNull(result); }
@Override public E get(String id) { return get(this.stringResolver.resolve(id, getDataSpace())); }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public E get(String id) { return get(this.stringResolver.resolve(id, getDataSpace())); } }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public E get(String id) { return get(this.stringResolver.resolve(id, getDataSpace())); }  }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public E get(String id) { return get(this.stringResolver.resolve(id, getDataSpace())); }  @Override E create(); @Override synchronized E create(DocumentReference creator); @Override E get(String id); @Override E get(DocumentReference reference); @Override E getByName(String name); @Override Iterator<E> getAll(); @Override boolean delete(E entity); @Override E load(DocumentModelBridge document); @Override String getIdPrefix(); @Override EntityReference getEntityType(); }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public E get(String id) { return get(this.stringResolver.resolve(id, getDataSpace())); }  @Override E create(); @Override synchronized E create(DocumentReference creator); @Override E get(String id); @Override E get(DocumentReference reference); @Override E getByName(String name); @Override Iterator<E> getAll(); @Override boolean delete(E entity); @Override E load(DocumentModelBridge document); @Override String getIdPrefix(); @Override EntityReference getEntityType();  }