def METHOD_NAME(self):
    path = 'path'
    issue2 = self.issue.relative_to(path)
    self.issue.origin.relative_to.assert_called_with(path)
    self.assertIs(self.issue.message, issue2.message)
    self.assertIs(self.issue.severity, issue2.severity)
    self.assertIs(self.issue.kind, issue2.kind)
    self.assertIs(self.issue.origin.relative_to(path), issue2.origin)