Skip to content

Instantly share code, notes, and snippets.

@tebeka
Created February 2, 2011 17:06
Show Gist options
  • Select an option

  • Save tebeka/807995 to your computer and use it in GitHub Desktop.

Select an option

Save tebeka/807995 to your computer and use it in GitHub Desktop.
@Test(groups = { "functest" })
public class AppTest {
/**
* Rigourous Test :-)
*/
@Test(expectedExceptions = { IllegalArgumentException.class })
public void testApp() {
Assert.assertTrue(true);
throw new IllegalArgumentException("boom!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment