public void SetUp ()
 {
   _stageMock = MockRepository.GenerateMock<ISqlPreparationStage>();
   _generator = new UniqueIdentifierGenerator();
   _handler = new AnyResultOperatorHandler();
   _sqlStatementBuilder = new SqlStatementBuilder (SqlStatementModelObjectMother.CreateSqlStatement())
                          {
                              DataInfo = new StreamedSequenceInfo (typeof (Cook[]), Expression.Constant (new Cook()))
                          };
   _context = SqlStatementModelObjectMother.CreateSqlPreparationContext();
 }
 public void SetUp()
 {
     _stageMock           = MockRepository.GenerateMock <ISqlPreparationStage>();
     _generator           = new UniqueIdentifierGenerator();
     _handler             = new AnyResultOperatorHandler();
     _sqlStatementBuilder = new SqlStatementBuilder(SqlStatementModelObjectMother.CreateSqlStatement())
     {
         DataInfo = new StreamedSequenceInfo(typeof(Cook[]), Expression.Constant(new Cook()))
     };
     _context = SqlStatementModelObjectMother.CreateSqlPreparationContext();
 }