@Test
public void shouldThrowIllegalStateExceptionForIllegal() throws Exception {

  thrown.expect(IllegalStateException.class);
  thrown.expectMessage("don't do this dude");
  Cases.illegal("don't do this dude");
}