public void CanCreateDataBody()
        {
            var body = new AmqpMessageBody(Array.Empty <ReadOnlyMemory <byte> >());

            Assert.AreEqual(AmqpMessageBodyType.Data, body.BodyType);
            Assert.IsTrue(body.TryGetData(out var data));
            Assert.NotNull(data);

            body = new AmqpMessageBody(null);
            Assert.AreEqual(AmqpMessageBodyType.Data, body.BodyType);
            Assert.IsTrue(body.TryGetData(out data));
            Assert.NotNull(data);
        }