Tests Failed: 0 passed, 1 failed - Junit : [enter image description here][1]


  [1]: https://i.stack.imgur.com/HJil2.jpg

My code is below:

    @Test
    public void testTrans() {

        AccountDao accountDao = new AccountDao();
        accountDao.trans();
        System.out.printf("test trans()");
    }

When I using Junit to test the method, occurs the issue, this below is Event Log information:

> 2017/2/15  
> 上午10:08	All files are up-to-date

> 上午10:08	Tests Failed: 0 passed, 1 failed

