CreateASprint(SprintDetails details) { if (details == null) { throw new ArgumentNullException(nameof(details)); } this.details = details; }
EditTheSprint(SprintDetails spec) { if (spec == null) { throw new ArgumentNullException(nameof(spec)); } this.spec = spec; }
public VerifyThatTheSprintDetailsMatch(SprintDetails expectedDetails) { if (expectedDetails == null) { throw new ArgumentNullException(nameof(expectedDetails)); } this.expectedDetails = expectedDetails; }
public static IPerformable WithTheDetails(SprintDetails details) => new CreateASprint(details);
public static IPerformable UsingTheSpecification(SprintDetails spec) => new EditTheSprint(spec);
public static IPerformable TheExpectations(SprintDetails expected) => new VerifyThatTheSprintDetailsMatch(expected);