Exemple #1
0
 public static ArchiveFeatureRequest GivenRequest(this ArchiveFeatureControllerTests tests)
 {
     return(new ArchiveFeatureRequest
     {
         ArchivedBy = "bob",
         Name = "Ross",
         Path = "🦄.🖼",
     });
 }
Exemple #2
0
 public static ArchiveFeatureController GivenController(
     this ArchiveFeatureControllerTests tests,
     IHandleCommand <ArchiveFeatureCommand> handler)
 {
     return(new ArchiveFeatureController(handler));
 }