Prevent doubles and partial doubles being used outside of tests.

For example: in a before(:all) block.