Package org.ocpsoft.rewrite.test

Examples of org.ocpsoft.rewrite.test.MockInboundRewrite


   private EvaluationContext context;

   @Before
   public void before()
   {
      rewrite = new MockInboundRewrite();
      context = new MockEvaluationContext();
      operation = new Operation() {
         @Override
         public void perform(final Rewrite event, final EvaluationContext context)
         {
View Full Code Here


   @Test
   public void testInboundReturnsTrue()
   {
      Condition condition = Direction.isInbound();
      Assert.assertTrue(condition.evaluate(new MockInboundRewrite(), new MockEvaluationContext()));
   }
View Full Code Here

TOP

Related Classes of org.ocpsoft.rewrite.test.MockInboundRewrite

Copyright © 2018 www.massapicom. 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.