def METHOD_NAME(self, patches):
    patches.mock_open.side_effect = [mock.mock_open(read_data=self.mock_manifest).return_value]
    sys.path.append(os.path.abspath('mms/tests/unit_tests/test_utils/'))
    patches.os_path.return_value = True
    handler = 'dummy_func_model_service:infer'
    model_loader = ModelLoaderFactory.get_model_loader(os.path.abspath('mms/unit_tests/test_utils/'))
    service = model_loader.load(self.model_name, self.model_dir, handler, 0, 1)
    assert isinstance(service._entry_point, types.FunctionType)
    assert service._entry_point.__name__ == 'infer'