public async Task GetTemplatesByIdsAsyncTest() { var expectedTemplateIds = new List <int> { _configData.TemplateId }; var expectedTemplateObject = await _clientObject.GetTemplatesByIdsAsync(expectedTemplateIds); Assert.IsNotNull(expectedTemplateObject); Assert.AreEqual(expectedTemplateObject.ToList()[0].Data.Id, _configData.TemplateId); Assert.AreEqual(expectedTemplateObject.ToList().Count, 1); }