Пример #1
0
        public void Accept_VisitorSupportingExpressionType()
        {
            var visitorMock = MockRepository.GenerateMock <ISqlTableBaseVisitor>();

            visitorMock.Expect(mock => mock.VisitSqlTable(_sqlTable));
            visitorMock.Replay();

            _sqlTable.Accept(visitorMock);

            visitorMock.VerifyAllExpectations();
        }