public void GetCategoryFaker_AmountLessThanMaxCategoryAmount_ShouldKeepItsAmount() { var categories = CategoryFaker.GetCategoryList(3); _output.WriteLine(JsonConvert.SerializeObject(categories, Formatting.Indented)); Assert.Equal(3, categories.Count); }
public void GetCategoryFaker_AmountBeyondMaxCategory_ShouldBeFallBackToMaxCategoryAmount() { var categories = CategoryFaker.GetCategoryList(12); _output.WriteLine(JsonConvert.SerializeObject(categories, Formatting.Indented)); Assert.Equal(10, categories.Count); }