public void SetUp() { _shapeCollectionHelper = new ShapeCollectionHelper(); _testShapes = new List <Shape> { new Shape { ShapeId = "1", PointSequence = 1, }, new Shape { ShapeId = "1", PointSequence = 3, }, new Shape { ShapeId = "1", PointSequence = 2, }, new Shape { ShapeId = "2", PointSequence = 1, }, new Shape { ShapeId = "2", PointSequence = 2, }, new Shape { ShapeId = "3", PointSequence = 1, }, new Shape { ShapeId = "3", PointSequence = 3, }, new Shape { ShapeId = "3", PointSequence = 2, } }; }
public ShapeImporterService(IGenericRepository <Shape> repository, IGenericRepository <ShapeBase> shapeBaseRepository, IEntityBuilder <Shape> entityBuilder, ILogger <ImporterService <Shape> > logger, IShapeCollectionHelper shapeCollectionHelper) : base(repository, entityBuilder, logger) { _shapeBaseRepository = shapeBaseRepository; _shapeCollectionHelper = shapeCollectionHelper; }