Lines Matching refs:injector
171 private void tExceptionsThrown(Injector injector) throws Exception {
173 injector.getInstance(Key.get(remoteProviderOfFoo));
201 private void tValuesScoped(Injector injector,
206 RemoteProvider<Foo> remoteProvider = injector.getInstance(key);
241 private void tExceptionsScoped(Injector injector) throws Exception {
243 injector.getInstance(Key.get(remoteProviderOfFoo));
276 private void tExceptionsNotScopedWhenNotExceptionScoping(Injector injector) throws Exception {
278 injector.getInstance(Key.get(remoteProviderOfFoo, NotExceptionScoping.class));
343 private void tAnnotations(Injector injector, MockRemoteProvider<Foo> mockA,
348 injector.getInstance(Key.get(remoteProviderOfFoo, Names.named("a"))).get().s());
351 injector.getInstance(Key.get(remoteProviderOfFoo)).get().s());
389 private void tUndeclaredExceptions(Injector injector) throws Exception {
391 injector.getInstance(Key.get(remoteProviderOfFoo));
1475 Injector injector = Guice.createInjector(new AbstractModule() {
1496 injector.getInstance(Key.get(remoteProviderOfFoo)).get();