@Key("aroundInvoke.missing"), @Key("interceptorBinding.noSuchEjbName"), @Key("interceptorBinding.ejbNameRequiredWithMethod"),
@Key("interceptor.callback.missing.possibleTypo") })
public EjbJar test() throws Exception {
EjbJar ejbJar = new EjbJar();
ejbJar.addEnterpriseBean(new StatelessBean(FooBean.class));
Interceptor interceptor = ejbJar.addInterceptor(new org.apache.openejb.jee.Interceptor(CallbackMissingInterceptor.class));
interceptor.addAroundInvoke("wrongMethod");
interceptor.addPostConstruct("foo");
interceptor.addPostConstruct("wrongMethod");
List<InterceptorBinding> interceptorBindings = ejbJar.getAssemblyDescriptor().getInterceptorBinding();
InterceptorBinding binding = new InterceptorBinding("wrongEjbName");