Cases { public static <R> R todo() { throw new UnsupportedOperationException("TODO: not implemented"); } private  Cases(); static R illegal(String message); static R todo();  }
@Test public void shouldThrowUnsupportedOperationForTodo() throws Exception { thrown.expect(UnsupportedOperationException.class); Cases.todo(); }