public Optional<ProcessingStatusDto> get() {
        return Optional.ofNullable(db.findOne(DBQuery.is(ProcessingStatusDto.FIELD_NODE_ID, nodeId)));
    }
@Test
    public void get() {
        assertThat(dbService.get()).isNotPresent();

        dbService.save(new InMemoryProcessingStatusRecorder());

        assertThat(dbService.get()).isPresent();
    }