Searched refs:Subaru (Results 1 – 1 of 1) sorted by relevance
526 static class Subaru implements Car { class in FactoryProvider2Test534 FactoryProvider.newFactory(ColoredCarFactory.class, Subaru.class)); in testInjectingProviderOfParameter()539 Subaru subaru = (Subaru) carFactory.create(Color.RED); in testInjectingProviderOfParameter()544 Subaru sedan = (Subaru) carFactory.create(Color.BLUE); in testInjectingProviderOfParameter()556 FactoryProvider.newFactory(ColoredCarFactory.class, Subaru.class)); in testInjectingNullParameter()561 Subaru subaru = (Subaru) carFactory.create(null); in testInjectingNullParameter()577 FactoryProvider.newFactory(ProviderBasedColoredCarFactory.class, Subaru.class)); in testAssistedProviderIsDisallowed()617 … FactoryProvider.newFactory(JavaxProviderBasedColoredCarFactory.class, Subaru.class)); in testAssistedJavaxProviderIsDisallowed()647 ColoredCarFactory carFactory = FactoryProvider.newFactory(ColoredCarFactory.class, Subaru.class) in testFactoryUseBeforeInitialization()829 = Subaru.class.getDeclaredField("colorProvider").getAnnotation(Assisted.class); in testDefaultAssistedAnnotation()