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