Beispiel #1
0
 CreateASprint(SprintDetails details)
 {
     if (details == null)
     {
         throw new ArgumentNullException(nameof(details));
     }
     this.details = details;
 }
Beispiel #2
0
 EditTheSprint(SprintDetails spec)
 {
     if (spec == null)
     {
         throw new ArgumentNullException(nameof(spec));
     }
     this.spec = spec;
 }
Beispiel #3
0
 public VerifyThatTheSprintDetailsMatch(SprintDetails expectedDetails)
 {
     if (expectedDetails == null)
     {
         throw new ArgumentNullException(nameof(expectedDetails));
     }
     this.expectedDetails = expectedDetails;
 }
Beispiel #4
0
 public static IPerformable WithTheDetails(SprintDetails details)
 => new CreateASprint(details);
Beispiel #5
0
 public static IPerformable UsingTheSpecification(SprintDetails spec)
 => new EditTheSprint(spec);
Beispiel #6
0
 public static IPerformable TheExpectations(SprintDetails expected)
 => new VerifyThatTheSprintDetailsMatch(expected);