PrimitiveAssertionBuilder ab = new PrimitiveAssertionBuilder();
abr.registerBuilder(new QName("http://cxf.apache.org/test/assertions", "A"), ab);
abr.registerBuilder(new QName("http://cxf.apache.org/test/assertions", "B"), ab);
abr.registerBuilder(new QName("http://cxf.apache.org/test/assertions", "C"), ab);
PolicyBuilderImpl pb = new PolicyBuilderImpl();
bus.getExtension(PolicyBuilder.class);
EasyMock.expectLastCall().andReturn(pb).anyTimes();
bus.getExtension(PolicyEngine.class);
EasyMock.expectLastCall().andReturn(null).anyTimes();
pb.setAssertionBuilderRegistry(abr);
app = new Wsdl11AttachmentPolicyProvider();
app.setBuilder(pb);
app.setRegistry(new PolicyRegistryImpl());
control.replay();