Searched refs:AutoInsurance (Results 1 – 2 of 2) sorted by relevance
745 public static class AutoInsurance<T extends Car> implements Insurance<T> { class in FactoryProviderTest751 public AutoInsurance(double limit, @Assisted T car, @Assisted double premium) { in AutoInsurance() method in FactoryProviderTest.AutoInsurance769 camaroInsuranceFactoryType, new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()777 AutoInsurance<?> camaroPolicy = in testAssistedFactoryForTypeVariableParameters()778 (AutoInsurance<?>) camaroInsuranceFactory.create(camaro, 800.0d); in testAssistedFactoryForTypeVariableParameters()
986 public static class AutoInsurance<T extends Car> implements Insurance<T> { class in FactoryProvider2Test992 public AutoInsurance(double limit, @Assisted T car, @Assisted double premium) { in AutoInsurance() method in FactoryProvider2Test.AutoInsurance1010 camaroInsuranceFactoryType, new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()1018 AutoInsurance<?> camaroPolicy = in testAssistedFactoryForTypeVariableParameters()1019 (AutoInsurance<?>) camaroInsuranceFactory.create(camaro, 800.0d); in testAssistedFactoryForTypeVariableParameters()