Ejemplo n.º 1
0
        public void Consume_ShouldThrowNotSupportedException()
        {
            using (var packet = new FloatPacket())
            {
#pragma warning disable IDE0058
                Assert.Throws <NotSupportedException>(() => { packet.Consume(); });
#pragma warning restore IDE0058
            }
        }
Ejemplo n.º 2
0
        public void Consume_ShouldThrowNotSupportedException()
        {
            var packet = new FloatPacket();

            Assert.Throws <NotSupportedException>(() => { packet.Consume(); });
        }