public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
try
{
EJBInterceptor.invoked = false;
WebInterceptor.invoked = false;
ClassesClass classesClass = new ClassesClass();
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;