Exemplo n.º 1
0
 public ScheduleDataProvider(IJsonParser jsonParser
                             , IJsonRepository jsonRepository
                             , IRESTfulURLProvider urlProvider)
 {
     this.jsonParser     = jsonParser;
     this.jsonRepository = jsonRepository;
     this.urlProvider    = urlProvider;
 }
Exemplo n.º 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
                                                         );
        }