def METHOD_NAME(self):
    # Mock storage utilities to avoid calling azure to get a real client.
    AzureStorageOutput.get_blob_client_wrapper = gm = mock.MagicMock()
    gm.return_value = None, "logs", 'xyz'
    output = self.get_azure_output()
    self.assertEqual(output.file_prefix, "xyz")
    # Generate fake output file
    with open(os.path.join(output.root_dir, "foo.txt"), "w") as fh:
        fh.write("abc")
    # Mock the create blob call
    output.blob_service = mock.MagicMock()
    output.blob_service.create_blob_from_path = m = mock.MagicMock()
    output.upload()
    m.assert_called_with(
        "logs",
        "xyz/foo.txt",
        fh.name
    )