Exemple #1
0
 public static UpdateFeatureRequest GivenRequest(this UpdateFeatureControllerTests tests)
 {
     return(new UpdateFeatureRequest
     {
         UpdatedBy = "bob",
         Name = "Ross",
         Path = "🦄.🖼",
         NewName = "djp0n3",
         NewPath = "🎶",
     });
 }
Exemple #2
0
 public static UpdateFeatureController GivenController(
     this UpdateFeatureControllerTests tests,
     IHandleCommand <UpdateFeatureCommand> handler)
 {
     return(new UpdateFeatureController(handler));
 }