public void CheckReadWriteInt32ReturnsSameValue(int value, ByteOrder byteOrder)
        {
            using(var baseStream = new MemoryStream())
            {
                var constructWriter = new ConstructWriterStream(baseStream);
                constructWriter.WriteInt32(value, byteOrder);

                baseStream.Seek(0, SeekOrigin.Begin);

                var constructReader = new ConstructReaderStream(baseStream);
                var result = constructReader.ReadInt32(byteOrder);

                Assert.AreEqual(value, result);
            }
        }
        public void ReadIntIsCorrectValue(int value, ByteOrder byteOrder)
        {
            var constructStream = new ConstructReaderStream(DataStream.Create(value, byteOrder));

            Assert.AreEqual(value, constructStream.ReadInt32(byteOrder));
        }