Same problem as above with Assert.fail. Luckily, in this implementation we verify the exception type. Still, it will be cleaner to not catch the exception thrown by Assert.