Owneat Technical Guide main Help

Class RestaurantFakerHelper.CategoryContext

Namespace: Restaurant.IntegrationTests.Utils
Assembly: Restaurant.IntegrationTests.dll

public static class RestaurantFakerHelper.CategoryContext

Inheritance

object ← RestaurantFakerHelper.CategoryContext

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Methods

CategoryGenerator\(\)

public static Faker<Category> CategoryGenerator()

Returns

Faker<Category\>

ConflictUpdateCategoryCommand\(Guid, string\)

public static Faker<UpdateCategoryCommand> ConflictUpdateCategoryCommand(Guid categoryId, string name)

Parameters

categoryId Guid

name string

Returns

Faker<UpdateCategoryCommand\>

InvalidUpdateCategoryCommand\(\)

public static Faker<UpdateCategoryCommand> InvalidUpdateCategoryCommand()

Returns

Faker<UpdateCategoryCommand\>

UpdateCategoryCommand\(Guid\)

public static Faker<UpdateCategoryCommand> UpdateCategoryCommand(Guid categoryId)

Parameters

categoryId Guid

Returns

Faker<UpdateCategoryCommand\>

Last modified: 21 May 2024