public static void validate(long migrationNumber) {
    checkArgument(migrationNumber >= 0, "Migration number must be >= 0");
  }
@Test
  public void validate_throws_IAE_if_argument_is_less_then_0() {
    assertThatThrownBy(() -> MigrationNumber.validate(-(Math.abs(new Random().nextInt()) + 1)))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("Migration number must be >= 0");
  }