public void TestGetBranchCommitsIfBranchNull()
        {
            var mock          = new Mock <IRequestSender>();
            var commitService = new CommitService(mock.Object);
            ClientResponse <IEnumerable <Commit> > testResponse =
                commitService.GetBranchCommits(new BasicRepositoryData(), null).GetAwaiter().GetResult();

            Assert.Equal(MessagesHelper.EmptyDataMessage, testResponse.Message);
            Assert.Equal(OperationStatus.EmptyData, testResponse.Status);
        }
        public void TestGetBranchCommitsIfHasEmptyParam(string username, string repositoryName, string branchName)
        {
            var mock          = new Mock <IRequestSender>();
            var commitService = new CommitService(mock.Object);
            ClientResponse <IEnumerable <Commit> > testResponse =
                commitService.GetBranchCommits(username, repositoryName, branchName).GetAwaiter().GetResult();

            Assert.Equal(MessagesHelper.EmptyDataMessage, testResponse.Message);
            Assert.Equal(OperationStatus.EmptyData, testResponse.Status);
        }