Exemple #1
0
        [TestInitialize] public override void TestInitialize()
        {
            base.TestInitialize();
            var r = new testRepository();

            obj = new testClass(r);
        }
Exemple #2
0
        public override void TestInitialize()
        {
            base.TestInitialize(); //kasutab inmemorydb extensionit, mis on malus!
            var r = new testRepository();
            var t = new termRepository();

            obj = new testClass(r, t); //annan repository katte
        }
 public override void TestInitialize()
 {
     base.TestInitialize();
     db = new testRepository();
 }