示例#1
0
        public void Initialize()
        {
            var loader = new FixtureLoader("v2", FailToCreateRecordsFixture);

            _jToken    = JObject.Parse(loader.ExtractJsonPayload());
            _exception = new DnsimpleValidationException(_jToken);
        }
 public MockHttpService(string version, string fixture, string baseUrl)
 {
     _baseUrl       = baseUrl;
     _fixtureLoader = new FixtureLoader(version, fixture);
 }
示例#3
0
 public MockResponse(FixtureLoader loader)
 {
     Content = loader.ExtractJsonPayload();
     Headers = loader.ExtractHeaders();
 }