When I need internal checks and flexible testing, I create testing types. So, instead of "Null", I let the test pass a "TestIgnore" type object and react to that accordingly.
These types should be clearly meant to be used ONLY in testing environments.
These types should be clearly meant to be used ONLY in testing environments.