Package com.google.inject.testing.guiceberry

Examples of com.google.inject.testing.guiceberry.NoOpTestScopeListener


    public void configure() {
      install(new DeprecatedGuiceBerryModule(currentUniverse));
      bind(BarService.class).to(BarServiceOne.class);
      bind(FooService.class).to(FooServiceOne.class);
      bind(Integer.class).toInstance(NUMBER++);
      bind(TestScopeListener.class).toInstance(new NoOpTestScopeListener());
    }
View Full Code Here


    public void configure() {
      install(new DeprecatedGuiceBerryModule(currentUniverse));
      bind(FooService.class).to(FooServiceOne.class);
      bind(BarService.class).to(BarServiceOne.class);     
      bind(Integer.class).toInstance(NUMBER++);
      bind(TestScopeListener.class).toInstance(new NoOpTestScopeListener());
      bind(GuiceBerryEnvMain.class).to(MyGuiceBerryEnvMain.class);
    }
View Full Code Here

          "GuiceBerryEnvWithoutBindingsForFooOrBar";

    @Override
    public void configure() {
      install(new DeprecatedGuiceBerryModule(currentUniverse));
      bind(TestScopeListener.class).toInstance(new NoOpTestScopeListener());
    }
View Full Code Here

TOP

Related Classes of com.google.inject.testing.guiceberry.NoOpTestScopeListener

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.