public async Task ListProducts_Should_ListProducts() { var client = new PrintAuraProductsClient(); var response = await client.ListProductsAsync(); Assert.True(response.Result == 1); }
public async Task ListColors_Should_ContainColors() { var client = new PrintAuraProductsClient(); var response = await client.ListColorsAsync(); Assert.True(response.Result == 1); Assert.True(response.Message.IsEmpty()); Assert.True(response.Colors != null && response.Colors.Count > 0); }
public ProductManager() { client = new PrintAuraProductsClient(); ProductMappings.Configure(); }