Esempio n. 1
0
        public void RemoveTest()
        {
            SessionLocationService.Remove(Session.Id, Location.Id);
            var removed = SessionLocationService.GetFromIdPair(Session.Id, Location.Id);

            Assert.AreEqual(removed.Id, -1);
        }
Esempio n. 2
0
        public void GetTest()
        {
            var added = SessionLocationService.GetFromIdPair(Session.Id, Location.Id);

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