Searched refs:fooBinding (Results 1 – 2 of 2) sorted by relevance
44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testNormalBinding() local45 assertSame(foo, fooBinding.getProvider().get()); in testNormalBinding()46 ElementSource source = (ElementSource) fooBinding.getSource(); in testNormalBinding()48 assertEquals(Key.get(Foo.class), fooBinding.getKey()); in testNormalBinding()75 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testLinkedBinding() local76 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()77 ElementSource source = (ElementSource) fooBinding.getSource(); in testLinkedBinding()79 assertEquals(Key.get(Foo.class), fooBinding.getKey()); in testLinkedBinding()
69 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged"))); in testScanning() local73 fooBinding.getProvider().toString()); in testScanning()168 Binding<?> fooBinding = injector.getBinding(Key.get(clazz, named(originalName + "-munged")));169 assertEquals(expectedValue, fooBinding.getProvider().get());