Ejemplo n.º 1
0
 @Test
 @TestDir
 public void testDirAnnotation() throws Exception {
   assertNotNull(TestDirHelper.getTestDir());
 }
Ejemplo n.º 2
0
 @Test(expected = IllegalStateException.class)
 public void testDirNoAnnotation() throws Exception {
   TestDirHelper.getTestDir();
 }