public void TestSearchExpressionAccept() { Mock <KoraliumSqlVisitor> mock = new Mock <KoraliumSqlVisitor>(); SearchExpression searchExpression = new SearchExpression(); searchExpression.Accept(mock.Object); mock.Verify(x => x.VisitSearchExpression(searchExpression)); }