Example #1
0
        public async Task ShouldReturnNullIfEmptyGuid()
        {
            var result = await _handler.Handle(new GetIdentityById { Id = Guid.Empty });

            result.Should().BeNull();
            RepositoryMock.VerifyNoOtherCalls();
        }
        public async Task ShouldNotDoAnythingIfPullRequestsEmpty()
        {
            await _handler.Handle(new SavePullRequests(Enumerable.Empty <PullRequestViewModel>()));

            RepositoryMock.VerifyNoOtherCalls();
        }