public void StartWithJsonPadding() { this.settings.JsonPCallback = "foo"; RawValueWriter target = new RawValueWriter(this.settings, this.stream, new UTF32Encoding()); target.Start(); this.StreamAsString(target).Should().Be("foo("); }
public void StartDoesNothingNormally() { RawValueWriter target = new RawValueWriter(this.settings, this.stream, new UTF32Encoding()); target.Start(); this.StreamAsString(target).Should().BeEmpty(); }