### Question:
GcpJobStatusService implements JobStatusService { @Override public void updateJobStatus(String jobId, IngestJobStatus status) { log.debug("Update the injection job status. JobId: {}, status: {}", jobId, status); ingestJobRepository.updateFields(jobId, ImmutableMap.of("status", status.name())); log.debug("Updated the injection job status. Status: {}", status); }  @Override IngestJobStatusDto getStatus(String jobId, MessageHeaders headers); @Override IngestJob get(String jobId); @Override String initInjectJob(); @Override void updateJobStatus(String jobId, IngestJobStatus status); @Override void save(IngestJob ingestJob);  }### Answer:
@Test public void shouldUpdateJobStatus() { jobStatusService.updateJobStatus(INGEST_JOB_ID, IngestJobStatus.RUNNING); InOrder inOrder = inOrder(authenticationService, ingestJobRepository, ingestJobMapper); inOrder.verify(ingestJobRepository).updateFields(eq(INGEST_JOB_ID), fieldsCaptor.capture()); inOrder.verifyNoMoreInteractions(); then(fieldsCaptor.getValue()).containsOnly(entry("status", "RUNNING")); }