Package se.jbee.inject.config

Examples of se.jbee.inject.config.Globals


  }

  @Test
  public void thatMultipleOptionChoicesArePossible() {
    Options options = Options.STANDARD.chosen( Choices.A, Choices.D );
    Globals globals = Globals.STANDARD.options( options );
    Injector injector = Bootstrap.injector( RootBundle.class, globals );
    assertEqualSets( new String[] { "A", "D" }, injector.resolve( dependency( String[].class ) ) );
  }
View Full Code Here

TOP

Related Classes of se.jbee.inject.config.Globals

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.