public void WhenIUseTheFirstCommitInTheEventSession() { commitContext.CommitInUse = session.AllCommits().ElementAt(0); }
public void WhenIUseTheCommitInTheSessionWithAnIdOf(Guid commitId) { context.CommitInUse = session.AllCommits().Single(c => c.CommitId == commitId); }