@Test
public void testTriggerNotExistingRun() throws ReaperException {

  RepairRunResource resource = new RepairRunResource(context);
  Optional<String> newState = Optional.of(RepairRun.RunState.RUNNING.toString());
  Response response = resource.modifyRunState(uriInfo, UUIDs.timeBased(), newState);
  assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus());
  assertTrue(response.getEntity() instanceof String);
  assertTrue(response.getEntity().toString().contains("doesn't exist"));
}