Exemple #1
0
        public void RemoveTest()
        {
            CandidateSessionService.Remove(Candidate.Id, Session.Id);
            var removed = CandidateSessionService.GetFromIdPair(Candidate.Id, Session.Id);

            Assert.AreEqual(removed.Id, -1);
        }
Exemple #2
0
        public void GetTest()
        {
            var added = CandidateSessionService.GetFromIdPair(Candidate.Id, Session.Id);

            Assert.AreEqual(added.Id, CandidateSession.Id);
        }