@Test
 public void testInvocationWithException() {
   p.doSomething();
   try {
     p.doWrong();
     fail();
   } catch (Exception e) {
     Achievement ach = gs.getAchievement("Spider", "GOLD");
     assertEquals(new Integer(1000), ((Point) ach).getQuantity());
   }
 }