public void AndWhere_ThrowsWhenStatementStarted() { var ex = Assert.Throws <InvalidOperationException>(() => _sqlExpression.AndWhere(_ => true)); Assert.Equal("Start the where statement with the 'Where' method.", ex.Message); }