public static PublishFeatureRequest GivenRequest(this PublishFeatureControllerTests tests) { return(new PublishFeatureRequest { PublishedBy = "bob", Name = "Ross", Path = "🦄.🖼", }); }
public static PublishFeatureController GivenController( this PublishFeatureControllerTests tests, IHandleCommand <PublishFeatureCommand> handler) { return(new PublishFeatureController(handler)); }