Example #1
0
        public void AndWhere_ThrowsWhenStatementStarted()
        {
            var ex = Assert.Throws <InvalidOperationException>(() => _sqlExpression.AndWhere(_ => true));

            Assert.Equal("Start the where statement with the 'Where' method.", ex.Message);
        }