Scala test already has functionality for ensuring the correct exceptions are thrown, I think we should just reuse that instead of inventing our own.

```scala
intercept[ExpectedException] { operation }
```