Beispiel #1
0
        public void Test2()
        {
            var getall = AvailableContext.GetAll(this, new object());

            if (!object.ReferenceEquals(getall, null))
            {
                Assert.Pass();
            }
            //if the response it null , that means the request has fired a no context was found that why.
            Assert.Pass();
        }
Beispiel #2
0
        public void Test1()
        {
            var t = AvailableContext.GetContexts(this);

            if (!object.ReferenceEquals(t, null))
            {
                Assert.Pass();
            }

            Assert.Fail();
        }
 public AvailabilityRepo(AvailableContext context)
 {
     _context = context;
 }