KeyBindingType keyBindingType = xKMSObjectFactory.createKeyBindingType();
keyBindingType.setKeyInfo(keyInfoType);
keyBindingType.setId("100123123422");
recoverRequestType.setRecoverKeyBinding(keyBindingType);
AuthenticationType authenticationType = xKMSObjectFactory.createAuthenticationType();
NotBoundAuthenticationType notBoundAuthenticationType = xKMSObjectFactory.createNotBoundAuthenticationType();
notBoundAuthenticationType.setProtocol("NOTUSED");
notBoundAuthenticationType.setValue("RerecoverPassword".getBytes());
authenticationType.setNotBoundAuthentication(notBoundAuthenticationType);
recoverRequestType.setAuthentication(authenticationType);
RecoverResultType recoverResultType = xKMSInvoker.recover(recoverRequestType, null, null, null, keyBindingType.getId());
assertTrue(recoverResultType.getResultMajor().equals(XKMSConstants.RESULTMAJOR_SENDER));