if (EJBInterceptor.invoked) throw new RuntimeException("Should not have invoked EJBInterceptor");
if (!WebInterceptor.invoked) throw new RuntimeException("Should have invoked WebInterceptor");
EJBInterceptor.invoked = false;
WebInterceptor.invoked = false;
String ret = classesClass.invokeEjb("Test");
if (!EJBInterceptor.invoked) throw new RuntimeException("Should have invoked EJBInterceptor");
if (!WebInterceptor.invoked) throw new RuntimeException("Should have invoked WebInterceptor");
if (!ret.equals("#Test#")) throw new RuntimeException("Did not reach EJBLayer");
EJBInterceptor.invoked = false;