then assert the exception