@Test
public void testPauseNotExistingRun() throws InterruptedException, ReaperException {

  RepairRunResource resource = new RepairRunResource(context);
  Response response = resource.modifyRunState(uriInfo, UUIDs.timeBased(),
      Optional.of(RepairRun.RunState.PAUSED.toString()));
  assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus());
  assertEquals(0, context.storage.getRepairRunsWithState(RepairRun.RunState.RUNNING).size());
}