// [Test] public async Task TestMethodFetchPromotions() { // Arrange // Act var promotions = await _promotionsService.FetchPromotions(); // Assert Assert.IsTrue(promotions.Count > 0); // Assert.That(promotions.Count > 0, Is.True); }
/// Obter todas as promoções da api private async Task <List <Promotion> > FetchPromotions() => await _mPromotionsService.FetchPromotions();