Searched refs:ScopedFooImpl (Results 1 – 1 of 1) sorted by relevance
130 bind(Foo.class).to(ScopedFooImpl.class); in testLinkedToScoped()138 ensureFails(injector, ALLOW_BINDING, ScopedFooImpl.class); in testLinkedToScoped()146 bind(Foo.class).to(ScopedFooImpl.class); in testBasicsWithScoped()156 ensureFails(injector, ALLOW_BINDING, ScopedFooImpl.class); in testBasicsWithScoped()165 bind(Foo.class).to(ScopedFooImpl.class); in testFailsIfInjectingScopedDirectlyWhenItIsntBound()171 assertContains(expected.getMessage(), jitFailed(ScopedFooImpl.class)); in testFailsIfInjectingScopedDirectlyWhenItIsntBound()685 @Singleton private static class ScopedFooImpl implements Foo {} class in JitBindingsTest687 @SuppressWarnings("unused") @Inject ScopedFooImpl scopedFoo;