def METHOD_NAME(self):
  """Verifies enforce_single_project returns the correct results.
  Setup:
    * Set API calls to return the different firewall rules from the new
      policy on the first call, and the expected new firewall rules on the
      second call.
    * Load a mock policy file.
    * Create a temporary directory for writing the dremel recordio table out
      to.
    * Send the policy and project to EnforceSingleProject.
  Expected Results:
    * The results proto returned matches the expected results.
  """
  self.gce_api_client.get_firewall_rules.side_effect = [
      constants.DEFAULT_FIREWALL_API_RESPONSE,
      constants.EXPECTED_FIREWALL_API_RESPONSE]
  policy_filename = get_datafile_path(__file__, 'sample_policy.json')
  results = enforcer.enforce_single_project(self.enforcer, self.project,
                                            policy_filename)
  self.expected_summary.projects_total = 1
  self.expected_summary.projects_success = 1
  self.expected_summary.projects_changed = 1
  self.expected_summary.projects_unchanged = 0
  self.assertEqual(self.expected_summary, results.summary)
  expected_results = enforcer_log_pb2.ProjectResult()
  text_format.Merge(constants.SAMPLE_ENFORCER_PROJECTRESULTS_ASCIIPB,
                    expected_results)
  expected_results.run_context = enforcer_log_pb2.ENFORCER_ONE_PROJECT
  expected_results.gce_firewall_enforcement.policy_path = policy_filename
  project_result = results.results[0]
  self.assertEqual(expected_results, project_result)