Asserting that the error will not occur