public void TestGetByUIdCanNotBeNull()
 {
     IDbContext db = new R2DisasterContext();
     IRepository<Comprehensive> re = new EFRepository<Comprehensive>(db);
     IComprehensiveService s = new ComprehensiveService(re);
     InvestigationController c = new InvestigationController(s);
     string a=null;
     c.GetCompleteByUId(a);
 }
Exemple #2
0
        public void TestGetByUIdCanNotBeNull()
        {
            IDbContext db = new R2DisasterContext();
            IRepository <Comprehensive> re = new EFRepository <Comprehensive>(db);
            IComprehensiveService       s  = new ComprehensiveService(re);
            InvestigationController     c  = new InvestigationController(s);
            string a = null;

            c.GetCompleteByUId(a);
        }