def METHOD_NAME(self, mock_path):
    mock_path.isfile.return_value = True
    mock_path.abspath.return_value = "/some/path"
    self.assertEqual("file:///some/path", self.GFAL2Impl.createSourceName("protocol", "name"))