There should be a way to unmock mocked things. In my opinion t::lib::Mocks should be object-oriented, and keep references to the context object that is used for mocking.