public void AddLogEntry_GivenErrorInfoObjectAddsItToRepositoryAndReturnsId()
        {
            var errorInfo = new ErrorInfo();

            errorInfo.ErrorDescription = "Test Error Info added to the repository.";
            service.AddLogEntry(errorInfo);

            Assert.IsTrue(repository.GetAll().Any());
            Assert.IsTrue(errorInfo.LogId == 1);
        }