Beispiel #1
0
        public void TestTableExists()
        {
            _querySchemaMock.Setup(x => x.TableExists(null, _testTable)).Returns(true);

            _builder.Table(_testTable).Exists().ShouldBeTrue();
            _querySchemaMock.Verify(x => x.TableExists(null, _testTable));
        }
        public void TestTableExists()
        {
            _querySchemaMock.Setup(x => x.TableExists(null, _testTable)).Returns(true).AtMostOnce();

            _builder.Table(_testTable).Exists().ShouldBeTrue();
            _migrationContextMock.VerifyAll();
        }