Пример #1
0
        public async Task GetTodoItemTest()
        {
            var testApiService = new TestApiService();
            var todoItem       = await testApiService.GetTodo();

            Assert.IsNotNull(todoItem.Result);
        }
Пример #2
0
 public HomeController(ILogger <HomeController> logger, TestApiService testApiService)
 {
     _logger         = logger;
     _testApiService = testApiService;
 }