public virtual void BaseSetUp() { // Setup test server server = new HttpTestServer(); server.Start(); // Setup the serializer serializer = new JsonNetSerializer(); serializer.failOnUnknownProperties = Newtonsoft.Json.MissingMemberHandling.Error; }
public virtual void SetUp() { oauth = new OAuthFlowImpl(clientId, clientSecret, redirectURL, authorizationURL, tokenURL, httpClient, json); // Setup test server server = new HttpTestServer(); server.Start(); // Setup the serializer JsonNetSerializer serializer = new JsonNetSerializer(); serializer.failOnUnknownProperties = Newtonsoft.Json.MissingMemberHandling.Error; }