From 2e65942cb25a98e5a75d8bab18c9f019f261309e Mon Sep 17 00:00:00 2001 From: kornelihno Date: Sat, 17 Feb 2018 17:38:23 +0100 Subject: [PATCH] Delete LawnMowerTest.java --- .../beaninjectiontypes/LawnMowerTest.java | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 spring-core/src/test/java/com/baeldung/beaninjectiontypes/LawnMowerTest.java diff --git a/spring-core/src/test/java/com/baeldung/beaninjectiontypes/LawnMowerTest.java b/spring-core/src/test/java/com/baeldung/beaninjectiontypes/LawnMowerTest.java deleted file mode 100644 index f59ef05247..0000000000 --- a/spring-core/src/test/java/com/baeldung/beaninjectiontypes/LawnMowerTest.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 LawnMowerTest { - - @Autowired - LawnMower lawnMower; - - @Test - public void givenAutowired_whenOnField_thenConstructorInjected() { - assertNotNull(lawnMower); - assertNotNull(lawnMower.getEngine()); - } -}