@Test
public void testLoadServicePrivateKeyInvalid() {

    System.setProperty(AthenzConsts.ATHENZ_PROP_HTTP_PORT, "4080");
    System.setProperty(AthenzConsts.ATHENZ_PROP_STATUS_PORT, "4444");
    System.setProperty(AthenzConsts.ATHENZ_PROP_PRIVATE_KEY_STORE_FACTORY_CLASS, "invalid-class");
    try {
        AthenzJettyContainer.createJettyContainer();
        fail();
    } catch (Exception ex) {
        assertTrue(ex instanceof IllegalArgumentException);
    }
}