I'm using this method to stub state (mocks loaded or not for example).

I thought about just hiding `hide_const(RSpec::Mocks)` or `hide_const(RSpec::Expectations)`, but it breaks example itself and renders to be an exception.