@Override
    public JobStatus getState() {
        return jobStatus;
    }
@Test
    void getState() {
        final JobStatusStore store = new JobStatusStore(0L);
        store.jobStatusChanges(new JobID(), JobStatus.RUNNING, 1L);

        assertThat(store.getState(), is(JobStatus.RUNNING));
    }