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