@Test public void fieldInjectionWithValues() { assertFalse(car.fieldPlainSeat instanceof DriversSeat); assertFalse(car.fieldPlainTire instanceof SpareTire); }
@Test public void constructorInjectionWithValues() { assertFalse(getField(car, "constructorPlainSeat") instanceof DriversSeat); assertFalse(getField(car, "constructorPlainTire") instanceof SpareTire); }