public static void checkProxyPortProperty() throws NumberFormatException {
    checkNumericSystemProperty("http.proxyPort", Range.closed(0, 65535));
    checkNumericSystemProperty("https.proxyPort", Range.closed(0, 65535));
  }
@Test
  public void testCheckHttpProxyPortProperty() throws NumberFormatException {
    System.setProperty("http.proxyPort", "0");
    System.setProperty("https.proxyPort", "0");
    JibSystemProperties.checkProxyPortProperty();

    System.setProperty("http.proxyPort", "1");
    System.setProperty("https.proxyPort", "1");
    JibSystemProperties.checkProxyPortProperty();

    System.setProperty("http.proxyPort", "65535");
    System.setProperty("https.proxyPort", "65535");
    JibSystemProperties.checkProxyPortProperty();

    System.setProperty("http.proxyPort", "65534");
    System.setProperty("https.proxyPort", "65534");
    JibSystemProperties.checkProxyPortProperty();
  }