Esempio n. 1
0
        public DatasetProvider(ILinearParser <LowerLayerSuperOutputArea> lowerLayerSuperOutputAreaParser,
                               ILinearParser <HousePrice> housePriceParser,
                               IKeyValueParser <string, string> lowerLayerSupportOutputAreaCodeToWardCodeParser)
        {
            _lowerLayerSuperOutputAreaParser = lowerLayerSuperOutputAreaParser;
            _housePriceParser = housePriceParser;
            _lowerLayerSupportOutputAreaCodeToWardCodeParser = lowerLayerSupportOutputAreaCodeToWardCodeParser;

            Dataset = Provide();
        }
Esempio n. 2
0
 public HousePriceParserShould()
 {
     _textFieldParser  = Substitute.For <ITextFieldParser>();
     _housePriceParser = new HousePriceParser(_textFieldParser);
 }
Esempio n. 3
0
 public LowerLayerSuperOutputAreaParserShould()
 {
     _textFieldParser = Substitute.For <ITextFieldParser>();
     _lowerLayerSuperOutputAreaParser = new LowerLayerSuperOutputAreaParser(_textFieldParser);
 }