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); }
public MockResponse(FixtureLoader loader) { Content = loader.ExtractJsonPayload(); Headers = loader.ExtractHeaders(); }