def METHOD_NAME(self):
    with script.TemporaryScript(
        "python_unittest.py", PYTHON_UNITTEST
    ) as python_unittest:
        res = PythonUnittestResolver().resolve(python_unittest.path)
    self.assertEqual(res.reference, python_unittest.path)
    self.assertEqual(res.result, resolver.ReferenceResolutionResult.SUCCESS)
    self.assertEqual(len(res.resolutions), 1)
    resolution = res.resolutions[0]
    self.assertEqual(resolution.kind, "python-unittest")
    self.assertEqual(resolution.uri, f"{python_unittest.path}:{'SampleTest.test'}")
    self.assertEqual(resolution.args, ())
    self.assertEqual(resolution.kwargs, {})
    self.assertEqual(resolution.tags, {"flattag": None, "foo": {"bar"}})