public DatasetProvider(ILinearParser <LowerLayerSuperOutputArea> lowerLayerSuperOutputAreaParser, ILinearParser <HousePrice> housePriceParser, IKeyValueParser <string, string> lowerLayerSupportOutputAreaCodeToWardCodeParser) { _lowerLayerSuperOutputAreaParser = lowerLayerSuperOutputAreaParser; _housePriceParser = housePriceParser; _lowerLayerSupportOutputAreaCodeToWardCodeParser = lowerLayerSupportOutputAreaCodeToWardCodeParser; Dataset = Provide(); }
public LowerLayerSuperOutputAreaCodeToWardCodeParserShould() { _textFieldParser = Substitute.For <ITextFieldParser>(); _lowerLayerSuperOutputAreaCodeToWardCodeParser = new LowerLayerSuperOutputAreaCodeToWardCodeParser(_textFieldParser); }