Пример #1
0
 @Test
 @TestDir
 public void testDirAnnotation() throws Exception {
   assertNotNull(TestDirHelper.getTestDir());
 }
Пример #2
0
 @Test(expected = IllegalStateException.class)
 public void testDirNoAnnotation() throws Exception {
   TestDirHelper.getTestDir();
 }