public void TestSetup() { _fixture = new Fixture(); _crossSectionPoints = _fixture.CreateMany <Framework.CrossSectionPoint>().ToList(); _mockCrossSectionPointMapper = Substitute.For <ICrossSectionPointMapper>(); _mockCrossSectionPointMapper.MapPoints(Arg.Any <List <ICrossSectionPoint> >()) .Returns(_crossSectionPoints); _crossSectionMapper = new CrossSectionMapper(_mockCrossSectionPointMapper); _crossSectionSurvey = new CrossSectionSurvey { Fields = TestData.TestHelpers.CreateExpectedCrossSectionFields() }; }
public void FixtureSetup() { Fixture = new Fixture(); CrossSectionPointMapper = new CrossSectionPointMapper(); }
public CrossSectionMapper(ICrossSectionPointMapper crossSectionPointMapper) { _crossSectionPointMapper = crossSectionPointMapper; }