public Long getNextUniqueId() {
    return withMetricLogError(
        () ->
            withRetryableQuery(
                GET_UNIQUE_ROWID,
                stmt -> {},
                result -> {
                  if (result.next()) {
                    return result.getLong(ID_COLUMN);
                  }
                  throw new MaestroNotFoundException("crdb unique_rowid() does not return an id");
                }),
        "getNextUniqueId",
        "Failed to get the next unique id");
  }
@Test
  public void testGetNextUniqueId() {
    assertNotNull(stepDao.getNextUniqueId());
  }