Implemented stubing during mocks registration