public void CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            BatchFibonacciFromConnectionStringSettings fibonaci = new BatchFibonacciFromConnectionStringSettings(25, Should.WorkFine);

            fibonaci.Execute();

            Assert25ThFibonacci();
        }
示例#2
0
        public async Task CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            await EnsureFibonacciTableExists();

            BatchFibonacciFromConnectionStringSettings fibonaci = new BatchFibonacciFromConnectionStringSettings(25, Should.WorkFine);
            await fibonaci.Execute();

            await Assert25ThFibonacci();
        }