public void GetBannedList_WithValidChannelList_ShouldReturnDistinctBannedUserList() { // ARRANGE _storageServiceMock .Setup(x => x.GetTwitchChannels()) .Returns(Task.FromResult(new List <string> { "testChannel" })); _sut = new TwitchService(_twitchOptionsMonitorMock.Object, _tableStorageoptionsMonitorMock.Object, _httpContextAccessorMock.Object, _fakeTwitchHttpClient, _storageServiceMock.Object, _loggerMock.Object); // ACT var result = _sut.GetBannedList(null); // ASSERT Assert.NotEmpty(result.Result); }