Updated junit dependency in pom, named test method meaningful
This commit is contained in:
parent
89ebafc9a6
commit
5e0f94f883
@ -14,12 +14,6 @@
|
|||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<version>4.11</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mockito</groupId>
|
<groupId>org.mockito</groupId>
|
||||||
<artifactId>mockito-all</artifactId>
|
<artifactId>mockito-all</artifactId>
|
||||||
|
@ -12,7 +12,7 @@ import static org.junit.Assert.assertTrue;
|
|||||||
public class BeanFactoryWithClassPathResource {
|
public class BeanFactoryWithClassPathResource {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createBeanFactory() {
|
public void createBeanFactoryAndCheckEmployeeBean() {
|
||||||
|
|
||||||
Resource res = new ClassPathResource("spring-app.xml");
|
Resource res = new ClassPathResource("spring-app.xml");
|
||||||
BeanFactory factory = new XmlBeanFactory(res);
|
BeanFactory factory = new XmlBeanFactory(res);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user