Ejemplo n.º 1
0
        public void SetupForAllTests()
        {
            SetupAutoFixture();

            SetupMockVerticalMapper();

            _gaugingSummaryItem = _fixture.Create <GaugingSummaryItem>();

            _mapper = new PointVelocityMapper(_mockVerticalMapper);
        }
Ejemplo n.º 2
0
 private void SetupMockPointVelocityMapper()
 {
     _mockPointVelocityMapper = Substitute.For <IPointVelocityMapper>();
     _mockPointVelocityMapper.Map(null, null).ReturnsForAnyArgs((ManualGaugingDischargeSection)null);
 }
 public DischargeActivityMapper(IPointVelocityMapper pointVelocityMapper)
 {
     _pointVelocityMapper = pointVelocityMapper;
 }