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;
ret = libClass.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");
//It worked