### Question:
SourceDocumentProcessingStatisticsDaoImpl implements SourceDocumentProcessingStatisticsDao { @Override public SourceDocumentProcessingStatistics read(String id) { return datastore.get(SourceDocumentProcessingStatistics.class, id); } SourceDocumentProcessingStatisticsDaoImpl(Datastore datastore); @Override Long getCount(); @Override boolean create(SourceDocumentProcessingStatistics sourceDocumentProcessingStatistics, WriteConcern writeConcern); @Override SourceDocumentProcessingStatistics read(String id); @Override List<SourceDocumentProcessingStatistics> read(List<String> ids); @Override boolean update(SourceDocumentProcessingStatistics sourceDocumentProcessingStatistics, WriteConcern writeConcern); @Override com.google.code.morphia.Key<SourceDocumentProcessingStatistics> createOrModify(SourceDocumentProcessingStatistics sourceDocumentProcessingStatistics, WriteConcern writeConcern); @Override Iterable<com.google.code.morphia.Key<SourceDocumentProcessingStatistics>> createOrModify(Collection<SourceDocumentProcessingStatistics> sourceDocumentProcessingStatistics,
                                                                                                    WriteConcern writeConcern); @Override WriteResult delete(String id); @Override SourceDocumentProcessingStatistics findBySourceDocumentReferenceAndJobId(String docId, String jobId); @Override List<SourceDocumentProcessingStatistics> findByRecordID(String recordID); @Override Map<ProcessingState, Long> countNumberOfDocumentsWithState(); @Override List<SourceDocumentProcessingStatistics> deactivateDocuments(List<String> sourceDocumentReferenceIds, WriteConcern writeConcern); @Override List<SourceDocumentProcessingStatistics> findByExecutionIdAndState(String executionId, List<ProcessingState> states);  }### Answer:
@Test public void testRead() throws Exception { SourceDocumentProcessingStatistics sourceDocumentProcessingStatisticsFromRead = sourceDocumentProcessingStatisticsDao.read(""); assertNull(sourceDocumentProcessingStatisticsFromRead); final SourceDocumentProcessingStatistics sourceDocumentProcessingStatistics = new SourceDocumentProcessingStatistics(new Date(), new Date(), true, null, null, new ReferenceOwner("1", "1", "1"), null, "", "", 100, "", 150*1024l, 50l, 0l, 0l, "", null, "",null); sourceDocumentProcessingStatisticsDao.create(sourceDocumentProcessingStatistics, WriteConcern.NONE); sourceDocumentProcessingStatisticsFromRead = sourceDocumentProcessingStatisticsDao.read(sourceDocumentProcessingStatistics.getId()); assertEquals(sourceDocumentProcessingStatistics.getHttpResponseContentSizeInBytes(), sourceDocumentProcessingStatisticsFromRead.getHttpResponseContentSizeInBytes()); sourceDocumentProcessingStatisticsDao.delete(sourceDocumentProcessingStatistics.getId()); }