diff --git a/spring-core/src/test/java/com/baeldung/beaninjectiontypes/BoatTest.java b/spring-core/src/test/java/com/baeldung/beaninjectiontypes/BoatTest.java deleted file mode 100644 index 1ffe6a752f..0000000000 --- a/spring-core/src/test/java/com/baeldung/beaninjectiontypes/BoatTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.baeldung.beaninjectiontypes; - -import static org.junit.Assert.assertNotNull; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.test.context.ContextConfiguration; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; - -@RunWith(SpringJUnit4ClassRunner.class) -@ContextConfiguration(classes = Config.class) -public class BoatTest { - - @Autowired - Boat boat; - - @Test - public void givenAutowired_whenOnSetter_thenInjected() { - assertNotNull(boat); - assertNotNull(boat.getEngine()); - } -}