dumbdonkey
7/27/2018 - 7:54 AM

Junit 异常测试

 @Test(expected = IllegalArgumentException.class)
    public void badArchiveFileName() {

        ArchiveFile archiveFile = new ArchiveFile("/ab/c/a.txt");
    }