Package org.milyn.container

Examples of org.milyn.container.MockApplicationContext


    }

    @Test(expected = SmooksException.class)
    public void shouldThrowIfGettingNonExistingProvider() {
        final MockProvider provider = new MockProvider();
        final MockApplicationContext context = new MockApplicationContext();
        RuleProviderAccessor.add(context, provider);

        RuleProviderAccessor.get(context, "nonExistingProviderName");
    }
View Full Code Here


  private SmooksResourceConfiguration config;
 
  @Test
  public void configure()
  {
        Configurator.configure( router, config, new MockApplicationContext() );
       
        assertEquals( resourceName, router.getResourceName() );
  }
View Full Code Here

TOP

Related Classes of org.milyn.container.MockApplicationContext

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.