Could you add an expect method, rather than repeating `if (...) throw RuntimeException`?  And we should probably only have one of that method in the test suite (but that's a problem for later).