Exemple #1
0
 public ScheduleDataProvider(IJsonParser jsonParser
                             , IJsonRepository jsonRepository
                             , IRESTfulURLProvider urlProvider)
 {
     this.jsonParser     = jsonParser;
     this.jsonRepository = jsonRepository;
     this.urlProvider    = urlProvider;
 }
Exemple #2
0
        public void TestInitialize()
        {
            this.jsonParser     = new JsonParser();
            this.jsonRepository = new JsonRepository();
            this.urlProvider    = new RESTfulURLProvider();

            this.dataProvider = new ScheduleDataProvider(this.jsonParser
                                                         , this.jsonRepository
                                                         , this.urlProvider
                                                         );
        }