use of com.google.gwt.inject.rebind.binding.BindingFactoryImpl in project google-gin by gwtplus.
the class GinjectorBindingsTest method setUp.
@Override
public void setUp() {
control = createControl();
niceControl = createNiceControl();
nameGenerator = control.createMock("nameGenerator", NameGenerator.class);
logger = niceControl.createMock("logger", TreeLogger.class);
guiceUtil = control.createMock("guiceUtil", GuiceUtil.class);
{
@SuppressWarnings("unchecked") Provider<GinjectorBindings> tmpProvider = control.createMock("ginjectorBindingsProvider", Provider.class);
ginjectorBindingsProvider = tmpProvider;
}
collector = control.createMock("collector", MemberCollector.class);
errorManager = control.createMock("errorManager", ErrorManager.class);
bindingResolver = control.createMock("bindingResolver", BindingResolver.class);
methodCallUtil = control.createMock("methodCallUtil", MethodCallUtil.class);
bindingFactory = new BindingFactoryImpl(errorManager, guiceUtil, DummyInjectorInterface.class, methodCallUtil);
}
Aggregations