@Test
public void testInvalidConfigValues() {

    ZMSImpl zmsImpl = zmsInit();
    System.setProperty(ZMSConsts.ZMS_PROP_VIRTUAL_DOMAIN_LIMIT, "-10");
    System.setProperty(ZMSConsts.ZMS_PROP_SIGNED_POLICY_TIMEOUT, "-10");
    zmsImpl.loadConfigurationSettings();
    assertEquals(zmsImpl.virtualDomainLimit, 5);
    assertEquals(zmsImpl.signedPolicyTimeout, 604800000);
    System.clearProperty(ZMSConsts.ZMS_PROP_VIRTUAL_DOMAIN_LIMIT);
    System.clearProperty(ZMSConsts.ZMS_PROP_SIGNED_POLICY_TIMEOUT);
    zmsImpl.objectStore.clearConnections();
}