Define testThrows

Define Documentation

testThrows(EXC, CODE)

Test that a given block throws an exception

testThrows(std::runtime_error, somefunc(5))