public void Accept_VisitorSupportingExpressionType() { var visitorMock = MockRepository.GenerateMock <ISqlTableBaseVisitor>(); visitorMock.Expect(mock => mock.VisitSqlTable(_sqlTable)); visitorMock.Replay(); _sqlTable.Accept(visitorMock); visitorMock.VerifyAllExpectations(); }