def METHOD_NAME(self):
    url = "https://my-git.com/owner/repository-name?ref=tags/v1.2.3"
    getter = GitGetter(url)
    git_url = getter.extract_git_ref(url)
    self.assertEqual("https://my-git.com/owner/repository-name", git_url,
                     "Parsed source url is wrong")
    self.assertEqual("v1.2.3", getter.tag, "Parsed source tag is wrong")