public void CheckIfCandidateAlreadyAppliedTest()
        {
            var mockRepository = new Mock <IDeletableEntityRepository <Candidate> >();

            mockRepository.Setup(x => x.All()).Returns(this.GetCandidatesData());

            var service = new CandidatesService(mockRepository.Object);

            var check = service.CheckIfCandidateAlreadyApplied("1", "2");

            Assert.True(check);
        }