Searched refs:FooProvider (Results 1 – 4 of 4) sorted by relevance
30 bind(Foo.class).toProvider(FooProvider.class); in testFooProvider()76 static class FooProvider implements Provider<Foo> { class in BoundProviderTest82 public FooProvider(Bar bar) { in FooProvider() method in BoundProviderTest.FooProvider
195 bind(Foo.class).toProvider(FooProvider.class); in testLinkedProviderBindingWorks()625 bind(Foo.class).toProvider(FooProvider.class); in testJitProviderBindingInParentFails()632 assertContains(expected.getMessage(), jitInParentFailed(FooProvider.class)); in testJitProviderBindingInParentFails()805 private static class FooProvider implements Provider<Foo> { class in JitBindingsTest
46 private Class<? extends Provider<? extends Foo>> pclFoo = FooProvider.class;65 assertTrue(bindings.remove(Key.get(FooProvider.class))); // JIT binding in testDuplicateBindingsAreIgnored()632 private static class FooProvider implements Provider<Foo> { class in DuplicateBindingsTest
100 .toProvider(FooProvider.class); in configure()112 public static class FooProvider implements Provider<Foo> { class in BindingTest