Searched refs:SummerCarFactory (Results 1 – 2 of 2) sorted by relevance
129 interface SummerCarFactory { interface in FactoryProvider2Test138 bind(SummerCarFactory.class).toProvider( in testFactoryUsesInjectedConstructor()139 FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryUsesInjectedConstructor()143 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryUsesInjectedConstructor()173 bind(SummerCarFactory.class).toProvider( in testConstructorDoesntNeedAllFactoryMethodArguments()174 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()177 SummerCarFactory factory = injector.getInstance(SummerCarFactory.class); in testConstructorDoesntNeedAllFactoryMethodArguments()
148 interface SummerCarFactory { interface in FactoryProviderTest158 bind(SummerCarFactory.class).toProvider( in testFactoryWithMultipleMethods()159 FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryWithMultipleMethods()163 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryWithMultipleMethods()201 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()