def METHOD_NAME(self):
    locator = Mock()
    locator.find.return_value = "somefile.yml:1234"
    report = deprecated.Report("some-policy")
    self.assertEqual(report.format(locator), "policy 'some-policy' (somefile.yml:1234)")
    locator.find.assert_called_with("some-policy")