//if we tell the controller we are testing, use the mock interface public Table1furnitureController(ITable1furnitureRepository db) { this.db = db; }
//i sno mock specified, use data base public Table1furnitureController() { this.db = new table1furniturerepository(); }