Wrap this in `try`/`catch` to grab the exception and then add an `assertThat(e).hasMessage(..)` to verify the correct error is thrown, please.