def METHOD_NAME(self, mock_prov):
    plugin_name = "test_plugin"
    dest_dir = os.path.join("parts", plugin_name, "src")
    os.makedirs(dest_dir)
    tar_file_name = "test.tar"
    source = "http://{}:{}/{file_name}".format(
        *self.server.server_address, file_name=tar_file_name
    )
    tar_source = sources.Tar(source, dest_dir)
    tar_source.pull()
    source_file = os.path.join(dest_dir, tar_file_name)
    mock_prov.assert_called_once_with(dest_dir, src=source_file, clean_target=False)
    with open(os.path.join(dest_dir, tar_file_name), "r") as tar_file:
        self.assertThat(tar_file.read(), Equals("Test fake file"))