That's why you pepper your code with assertions and rely on depth of test coverage (including generative testing) to hit them.