public static CreateFeatureRequest GivenRequest(this CreateFeatureControllerTests tests) { return(new CreateFeatureRequest { CreatedBy = "bob", Name = "Ross", Path = "🦄.🖼", }); }
public static CreateFeatureController GivenController( this CreateFeatureControllerTests tests, IHandleCommand <CreateFeatureCommand> handler) { return(new CreateFeatureController(handler)); }