diff --git a/spring-core/pom.xml b/spring-core/pom.xml index 9b6addf0f4..a2e306a61f 100644 --- a/spring-core/pom.xml +++ b/spring-core/pom.xml @@ -14,12 +14,6 @@ - - junit - junit - 4.11 - test - org.mockito mockito-all diff --git a/spring-core/src/main/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResource.java b/spring-core/src/main/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResource.java index a3bdbba848..3a7682641e 100644 --- a/spring-core/src/main/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResource.java +++ b/spring-core/src/main/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResource.java @@ -12,7 +12,7 @@ import static org.junit.Assert.assertTrue; public class BeanFactoryWithClassPathResource { @Test - public void createBeanFactory() { + public void createBeanFactoryAndCheckEmployeeBean() { Resource res = new ClassPathResource("spring-app.xml"); BeanFactory factory = new XmlBeanFactory(res);