Skip to content

Commit 5e0f94f

Browse files
committed
Updated junit dependency in pom, named test method meaningful
1 parent 89ebafc commit 5e0f94f

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

‎spring-core/pom.xml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
</description>
1515

1616
<dependencies>
17-
<dependency>
18-
<groupId>junit</groupId>
19-
<artifactId>junit</artifactId>
20-
<version>4.11</version>
21-
<scope>test</scope>
22-
</dependency>
2317
<dependency>
2418
<groupId>org.mockito</groupId>
2519
<artifactId>mockito-all</artifactId>

‎spring-core/src/main/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResource.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public class BeanFactoryWithClassPathResource {
1313

1414
@Test
15-
public void createBeanFactory() {
15+
public void createBeanFactoryAndCheckEmployeeBean() {
1616

1717
Resource res = new ClassPathResource("spring-app.xml");
1818
BeanFactory factory = new XmlBeanFactory(res);

0 commit comments

Comments
 (0)