Searched refs:SummerCarFactory (Results 1 – 2 of 2) sorted by relevance
140 interface SummerCarFactory { interface in FactoryProvider2Test151 bind(SummerCarFactory.class) in testFactoryUsesInjectedConstructor()152 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryUsesInjectedConstructor()156 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryUsesInjectedConstructor()188 bind(SummerCarFactory.class) in testConstructorDoesntNeedAllFactoryMethodArguments()189 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()192 SummerCarFactory factory = injector.getInstance(SummerCarFactory.class); in testConstructorDoesntNeedAllFactoryMethodArguments()
160 interface SummerCarFactory { interface in FactoryProviderTest173 bind(SummerCarFactory.class) in testFactoryWithMultipleMethods()174 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryWithMultipleMethods()178 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryWithMultipleMethods()216 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()