public void testIssueDelegate() {
WebServiceContext context = EasyMock.createNiceMock(WebServiceContext.class);
MessageContext ctx2 = EasyMock.createNiceMock(MessageContext.class);
EasyMock.expect(context.getMessageContext()).andReturn(ctx2).anyTimes();
UsernameToken token = new UsernameToken("joe", null, null, false, null, null);
EasyMock.expect(ctx2.get(SecurityToken.class.getName())).andReturn(token).anyTimes();
SAMLTokenIssueOperation id = new SAMLTokenIssueOperation();
CertificateVerifierConfig certificateVerifierConfig = new CertificateVerifierConfig();