public void Should_Activate_Comment_Thread() { // Given var fixture = new PullRequestFixture(BasePullRequestFixture.ValidAzureDevOpsServerUrl, 12); var pullRequest = new AzureDevOpsPullRequest(fixture.Log, fixture.Settings, fixture.GitClientFactory); // When pullRequest.ActivateCommentThread(321); // Then // ?? Nothing to validate here since the method returns void }
public void Should_Not_Throw_If_Null_Is_Returned() { // Given var fixture = new PullRequestFixture(BasePullRequestFixture.ValidAzureDevOpsServerUrl, 11) { GitClientFactory = new FakeNullForMethodsGitClientFactory(), }; var pullRequest = new AzureDevOpsPullRequest(fixture.Log, fixture.Settings, fixture.GitClientFactory); // When pullRequest.ActivateCommentThread(35); pullRequest.ResolveCommentThread(53); // Then // ?? Nothing to validate here since the method returns void }