@ContinuousIntegrationTest(estimatedDuration = 0.0)
 @Test(timeout = 30000)
 public void testAssertExceptionThrown() {
   JUnitTools.assertExceptionThrown(
       Exception.class,
       new RunnableThatThrows() {
         public void run() throws Throwable {
           throw new Exception();
         }
       });
 }
 @ContinuousIntegrationTest(estimatedDuration = 0.0)
 @Test(timeout = 30000)
 public void testAssertExceptionNotThrown() {
   JUnitTools.assertExceptionThrown(
       AssertionError.class,
       new RunnableThatThrows() {
         public void run() throws Throwable {
           JUnitTools.assertExceptionThrown(
               IndexOutOfBoundsException.class,
               new RunnableThatThrows() {
                 public void run() throws Throwable {
                   throw new NullArgumentException();
                 }
               });
         }
       });
 }