public void Default()
        {
            var transponder = new FeigTransponder();

            Check.That(transponder.TransponderType).IsEqualTo(FeigTransponderType.Unknown);
            Check.That(transponder.Identifier.IsEmpty).IsTrue();

            Check.That(transponder.ToString()).IsEqualTo("Type: Unknown, ID: <empty>");
        }
        public void ToString_SingleItems()
        {
            var transponders = new[] {
                new FeigTransponder {
                    TransponderType = FeigTransponderType.ISO14443A, Identifier = BufferSpan.From(0x11, 0x22, 0x33),
                },
            };

            Check.That(FeigTransponder.ToString(transponders)).IsEqualTo("{ Type: ISO14443A, ID: 11-22-33 }");
        }
        public void Construction()
        {
            var transponder = new FeigTransponder {
                TransponderType = FeigTransponderType.ISO14443A, Identifier = BufferSpan.From(0x11, 0x22, 0x33),
            };

            Check.That(transponder.TransponderType).IsEqualTo(FeigTransponderType.ISO14443A);
            Check.That(transponder.Identifier.ToArray()).ContainsExactly(0x11, 0x22, 0x33);

            Check.That(transponder.ToString()).IsEqualTo("Type: ISO14443A, ID: 11-22-33");
        }
 public void ToString_Null()
 {
     Check.That(FeigTransponder.ToString(null)).IsEqualTo(String.Empty);
 }
        public void ToString_NoItems()
        {
            FeigTransponder[] transponders = Array.Empty <FeigTransponder>();

            Check.That(FeigTransponder.ToString(transponders)).IsEqualTo(String.Empty);
        }