public int releaseHistoryRetentionSize() {
    int count = getIntProperty("apollo.release-history.retention.size", DEFAULT_RELEASE_HISTORY_RETENTION_SIZE);
    return checkInt(count, 1, Integer.MAX_VALUE, DEFAULT_RELEASE_HISTORY_RETENTION_SIZE);
  }
@Test
  public void testReleaseHistoryRetentionSize() {
    int someLimit = 20;
    when(environment.getProperty("apollo.release-history.retention.size")).thenReturn(String.valueOf(someLimit));

    assertEquals(someLimit, bizConfig.releaseHistoryRetentionSize());
  }