Class RestaurantFakerHelper.IngredientContext
Namespace: Restaurant.IntegrationTests.Utils
Assembly: Restaurant.IntegrationTests.dll
public static class RestaurantFakerHelper.IngredientContext
Inheritance
object ← RestaurantFakerHelper.IngredientContext
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Methods
CreateIngredientCommand\(\)
public static Faker<CreateIngredientCommand> CreateIngredientCommand()
Returns
Faker<CreateIngredientCommand\>
IngredientGenerator\(\)
public static Faker<Ingredient> IngredientGenerator()
Returns
Faker<Ingredient\>
InvalidCreateIngredientCommand\(\)
public static Faker<CreateIngredientCommand> InvalidCreateIngredientCommand()
Returns
Faker<CreateIngredientCommand\>
InvalidUpdateIngredientCommand\(\)
public static Faker<UpdateIngredientCommand> InvalidUpdateIngredientCommand()
Returns
Faker<UpdateIngredientCommand\>
UpdateIngredientCommand\(Guid\)
public static Faker<UpdateIngredientCommand> UpdateIngredientCommand(Guid ingredientId)
Parameters
ingredientId Guid
Returns
Faker<UpdateIngredientCommand\>
Last modified: 21 May 2024