public void ShouldEmitNoStreamNoTaskNoId()
        {
            var subjectUnderTest = new JsonProtocolWriterFormat();
            var emitJson =
                subjectUnderTest.EmitCommand(new object[] { "field1", 2, 3 });

            Assert.That(
                emitJson,
                Is.EqualTo(JsonStrings.CommandEmitNoStreamNoTaskNoId().TrimStuffForCompare()));
        }
        public void ShouldEmitWithAnchorsNoStream()
        {
            var subjectUnderTest = new JsonProtocolWriterFormat();
            var emitJson =
                subjectUnderTest.EmitCommand(new object[] { "field1", 2, 3 }, new long[] { 1231231, -234234234 }, 9);

            Assert.That(
                emitJson,
                Is.EqualTo(JsonStrings.CommandEmitWithAnchorNoStream().TrimStuffForCompare()));
        }
        public void ShouldEmitAll()
        {
            var subjectUnderTest = new JsonProtocolWriterFormat();
            var emitJson =
                subjectUnderTest.EmitCommand(new object[] { "field1", 2, 3 }, 1231231, 9, 1.ToString(CultureInfo.InvariantCulture));

            Assert.That(
                emitJson,
                Is.EqualTo(JsonStrings.CommandEmitAll().TrimStuffForCompare()));
        }