Package org.jboss.ejb3.core.test.jbpapp4428

Examples of org.jboss.ejb3.core.test.jbpapp4428.WebServiceMockStateless.fail()


   {
      final SecurityContext sc = SecurityContextFactory.createSecurityContext("test");
      SecurityContextAssociation.setSecurityContext(sc);

      WebServiceMockStateless bean = lookup(WebServiceMockStatelessBean.class.getSimpleName() + "/local", WebServiceMockStateless.class);
      bean.fail();
   }

   @Test
   public void testSucceed() throws Throwable
   {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.