public async Task GetMissionList_RequestSuccessful_ReturnMissionInfos() { var json = "[ { \"AdId\": \"abc\" }, { \"AdId\": \"abc\" } ]"; _requestor.Setup(g => g.GetRequest(It.IsAny <string>())) .Returns(Task.FromResult(json)); var result = await _missionService.GetMissionList(It.IsAny <string>()); Assert.That(result.FirstOrDefault().AdId, Is.EqualTo("abc")); }