public void should_not_provide_the_commit_to_the_postcommit_hooks() { PipelineHooks.ForEach(x => A.CallTo(() => x.PostCommit(_commit)).MustNotHaveHappened()); }
public void should_provide_the_commits_to_the_selection_hooks() { PipelineHooks.ForEach(x => A.CallTo(() => x.SelectAsync(_committed, A <CancellationToken> ._)).MustHaveHappened(Repeated.Exactly.Once)); }
public void should_provide_the_commit_to_the_precommit_hooks() { PipelineHooks.ForEach(x => A.CallTo(() => x.PreCommit(_populatedAttempt)).MustHaveHappenedOnceExactly()); }
public void should_provide_the_commit_to_the_postcommit_hooks() { PipelineHooks.ForEach(x => A.CallTo(() => x.PostCommit(_populatedCommit)).MustHaveHappened(Repeated.Exactly.Once)); }
public void should_provide_the_commits_to_the_selection_hooks() { PipelineHooks.ForEach(x => A.CallTo(() => x.Select(_committed)).MustHaveHappenedOnceExactly()); }
public void should_not_provide_the_commit_to_the_postcommit_hooks() { PipelineHooks.ForEach(x => x.Verify(y => y.PostCommit(_commit), Times.Never())); }
public void should_provide_the_commit_to_the_postcommit_hooks() { PipelineHooks.ForEach(x => x.Verify(hook => hook.PostCommit(_populatedCommit), Times.Once())); }
public void should_provide_the_commits_to_the_selection_hooks() { PipelineHooks.ForEach(x => x.Verify(hook => hook.Select(_committed), Times.Once())); }
public void should_provide_the_commit_to_the_precommit_hooks() { PipelineHooks.ForEach(x => x.Verify(hook => hook.PreCommit(populatedAttempt), Times.Once())); }