public When_deserializing_AccessTokenResponse_Should_deserialize(ITestOutputHelper output) { _json = SampleJson.AccessTokenResponse; _sut = _json.ToObject <AccessTokenResponse>(); output.WriteLine("Serialized JSON:" + Environment.NewLine + _json); }
public AccessTokenResponse_Should_calculate(ITestOutputHelper output) { JObject json = SampleJson.AccessTokenResponse; _sut = json.ToObject <AccessTokenResponse>(); output.WriteLine("Serialized JSON:" + Environment.NewLine + json); }
public When_serializing_AccessTokenResponse_Should_serialize(ITestOutputHelper output) : base(output) { _sut = Fixture.Create <AccessTokenResponse>(); _json = JObject.FromObject(_sut); output.WriteLine("Serialized JSON:" + Environment.NewLine + _json); }
public When_serializing_and_deserializing_AccessTokenResponse(ITestOutputHelper output) : base(output) { _expected = Fixture.Create <AccessTokenResponse>(); JObject json = JObject.FromObject(_expected); output.WriteLine("Serialized JSON:" + Environment.NewLine + json); _actual = json.ToObject <AccessTokenResponse>(); }
public When_running_in_the_debugger_AccessTokenResponse_Should(ITestOutputHelper output) : base(output) { _sut = Fixture.Create <AccessTokenResponse>(); GetDebuggerDisplay(_sut); }