def METHOD_NAME(self, patched_get_resource_summary):
    patched_get_resource_summary.return_value = None
    with self._get_remote_invoke_context() as remote_invoke_context:
        with self.assertRaises(AmbiguousResourceForRemoteInvoke):
            remote_invoke_context.run(Mock())