def METHOD_NAME(self):
    # [continuing]
    mod_name = 'for_real'
    with util.mock_spec('nonexistent') as first, \
         util.mock_spec(mod_name) as second:
        first.find_spec = lambda self, fullname, path=None, parent=None: None
        with util.import_state(meta_path=[first, second]):
            self.assertIs(self.__import__(mod_name), second.modules[mod_name])