Updated junit dependency in pom, named test method meaningful

This commit is contained in:
Shubham Aggarwal 2016-11-16 14:09:46 +05:30
parent 89ebafc9a6
commit 5e0f94f883
2 changed files with 1 additions and 7 deletions

View File

@ -14,12 +14,6 @@
</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>

View File

@ -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);