Exemplo n.º 1
0
        public void Test_QueryCollegeBtss_SingleInfrastructure(int id)
        {
            _testService.MockOneBtsInfrastructure(id);
            var views = _service.QueryCollegeBtss("College-" + id);

            Assert.IsNotNull(views);

            if (id > 0 && id <= 3)
            {
                Assert.AreEqual(views.Count(), 1);
            }
            else
            {
                Assert.AreEqual(views.Count(), 0);
            }
        }
Exemplo n.º 2
0
 public IEnumerable <CdmaBtsView> Get(string collegeName)
 {
     return(_service.QueryCollegeBtss(collegeName));
 }