That's probably fine, as long as all the code paths get tested.