Exemplo n.º 1
0
            public void ShouldWriteListHeaderCorrectly(int size, byte marker, byte[] expected)
            {
                var mocks  = new WriterTests.Mocks();
                var writer = new PackStreamWriter(mocks.OutputStream);

                writer.WriteListHeader(size);

                mocks.VerifyWrite(marker);
                mocks.VerifyWrite(expected);
            }