public void Should_read_and_write_bools()
 {
     var buffer = new byte[1024];
     using (var wrapper = new UnsafeBufferWrapper(buffer))
     {
         const bool value = true;
         wrapper.Write(value);
         Assert.AreEqual(wrapper.Position, sizeof (bool));
         wrapper.ResetCursor();
         var readValue = wrapper.ReadBoolean();
         Assert.AreEqual(value, readValue);
     }
 }