public async Task WhenThePullRequestIsAMatch_AndNoBuildIsPending_ThenABuildIsQueued()
        {
            _tfsService
            .ArePendingBuilds(ProjectName, BuildDefinitionName)
            .Returns(false);

            var pullRequest = GetPullRequestUpdatePayload(
                "repo-test",
                "master",
                "completed");

            await _sut.Handle(pullRequest);

            await _tfsService
            .Received()
            .QueueNewBuild(ProjectName, BuildDefinitionName);
        }
 public override Task ExecuteAsync(WebHookHandlerContext context, GitPullRequestUpdatedPayload payload)
 {
     return(_updatedPullRequestHandler.Handle(payload));
 }