Searched refs:AutoInsurance (Results 1 – 2 of 2) sorted by relevance
824 public static class AutoInsurance<T extends Car> implements Insurance<T> { class in FactoryProviderTest830 public AutoInsurance(double limit, @Assisted T car, @Assisted double premium) { in AutoInsurance() method in FactoryProviderTest.AutoInsurance853 new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()861 AutoInsurance<?> camaroPolicy = in testAssistedFactoryForTypeVariableParameters()862 (AutoInsurance<?>) camaroInsuranceFactory.create(camaro, 800.0d); in testAssistedFactoryForTypeVariableParameters()
1136 public static class AutoInsurance<T extends Car> implements Insurance<T> { class in FactoryProvider2Test1142 public AutoInsurance(double limit, @Assisted T car, @Assisted double premium) { in AutoInsurance() method in FactoryProvider2Test.AutoInsurance1165 new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()1173 AutoInsurance<?> camaroPolicy = in testAssistedFactoryForTypeVariableParameters()1174 (AutoInsurance<?>) camaroInsuranceFactory.create(camaro, 800.0d); in testAssistedFactoryForTypeVariableParameters()