コード例 #1
0
 public void Initialize()
 {
     _restClient   = new Mock <IRestClient>();
     _deserializer = new Mock <IEncodeDeserializer>();
     _settings     = new RestHelperSettings("CookieName", "CookieValue", "task types", "1.0.0", "BaseUrl");
     _helper       = new RestHelper(_restClient.Object, _deserializer.Object, _settings);
 }
コード例 #2
0
ファイル: RestHelperTest.cs プロジェクト: GusLab/video-portal
 public void Initialize()
 {
     _restClient = new Mock<IRestClient>();
     _deserializer = new Mock<IEncodeDeserializer>();
     _settings = new RestHelperSettings("CookieName", "CookieValue", "task types", "1.0.0", "BaseUrl");
     _helper = new RestHelper(_restClient.Object, _deserializer.Object, _settings);
 }