public void WhenErrorIsThrownWillRollbackTransaction()
 {
     BatchFibonacci fibonaci = new BatchFibonacci(25, Should.Throw);
     fibonaci.Execute();
     Assert.AreEqual(1, new List<Exception>(fibonaci.GetAllErrors()).Count);
     AssertFibonacciTableEmpty();
 }
        public void CanInsertToDatabaseFromInMemoryCollection()
        {
            BatchFibonacci fibonaci = new BatchFibonacci(25,Should.WorkFine);
            fibonaci.Execute();

            Assert25ThFibonacci();
        }