Esempio n. 1
0
 // if we tell the controller we are testing, use the mock interface
 public oneController(IOneControllerRepository db)
 {
     this.db = db;
 }
Esempio n. 2
0
 // if no mock specified, use db
 public oneController()
 {
     this.db = new EFOneControllerRepository();
 }