Is there an idiomatic way, that does not duplicate code and checks that an exception was thrown in Io when unit-testing?
So far:
threw := false
e := try(_method that should throw_)
e catch(Exception, threw = true)
if(threw not, fail("Should have thrown an Exception, but did not!"))