Esempio n. 1
0
        public static FizzBuzzService GetFizzBuzzService()
        {
            var testingContext = new EFTestHookContext("FlexOffersFizzBuzzTestDb");
            var unitOfWorkAssembledWithTestingContext = new UnitOfWork(testingContext);

            return new FizzBuzzService(unitOfWorkAssembledWithTestingContext);
        }
Esempio n. 2
0
 internal static void RollBackDb()
 {
     var context = new EFTestHookContext("FlexOffersFizzBuzzTestDb");
     context.DeleteAllEntriesInDb();
 }