Package com.google.gwt.inject.client.multibindings.TestTypes

Examples of com.google.gwt.inject.client.multibindings.TestTypes.Place


  public void testInject_keyProvider() throws Exception {
    PlacesGinjector injector = GWT.create(PlacesGinjector.class);

    Map<Place, X> map = injector.getMap();
    assertEquals(2, map.size());
    assertTrue(map.get(new Place("home")) instanceof XImpl1);
    assertTrue(map.get(new Place("about")) instanceof XImpl2);
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.inject.client.multibindings.TestTypes.Place

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.