public async void ByChainId_Not_Exists()
        {
            var mock = new ServiceMockFacade <ILinkService, ILinkRepository>();

            mock.RepositoryMock.Setup(x => x.ByChainId(It.IsAny <int>(), It.IsAny <int>(), It.IsAny <int>())).Returns(Task.FromResult <List <Link> >(new List <Link>()));
            var service = new LinkService(mock.LoggerMock.Object,
                                          mock.MediatorMock.Object,
                                          mock.RepositoryMock.Object,
                                          mock.ModelValidatorMockFactory.LinkModelValidatorMock.Object,
                                          mock.DALMapperMockFactory.DALLinkMapperMock,
                                          mock.DALMapperMockFactory.DALLinkLogMapperMock);

            List <ApiLinkServerResponseModel> response = await service.ByChainId(default(int));

            response.Should().BeEmpty();
            mock.RepositoryMock.Verify(x => x.ByChainId(It.IsAny <int>(), It.IsAny <int>(), It.IsAny <int>()));
        }