public async Task ListDatasets_AllGood_SetsAuthHeader()
{
Mock<IPowerBiAuthentication> mockPBi = new Mock<IPowerBiAuthentication>();
mockPBi.Setup(t => t.GetAccessToken()).Returns("hello");
var dashboardClient = new DatasetsClient(mockPBi.Object);
await dashboardClient.List();
mockPBi.Verify(pbi => pbi.GetAccessToken(), Times.Once);
}
}