ZMSBinder extends AbstractBinder { @Override protected void configure() { bind(new ZMSImpl()).to(ZMSHandler.class); }    }
@Test public void testZMSBinder() { System.setProperty(ZMSConsts.ZMS_PROP_FILE_NAME, "src/test/resources/zms.properties"); System.setProperty(ZMSConsts.ZMS_PROP_DOMAIN_ADMIN, "user.testadminuser"); System.setProperty(FilePrivateKeyStore.ATHENZ_PROP_PRIVATE_KEY, "src/test/resources/unit_test_zms_private.pem"); ZMSBinder binder = new ZMSBinder(); binder.configure(); }