Updated junit dependency in pom, named test method meaningful
This commit is contained in:
parent
89ebafc9a6
commit
5e0f94f883
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue