public void CanSerializePrimitiveListStream()
        {
            var list = new PrimitiveList();

            for (var n = 0; n < 10; n++)
            {
                list.List.Add(Primitives.Create(n));
            }

            Assert.IsTrue(this.Serializer.CanSerializeStream <PrimitiveList>(list));
        }
        public void CanSerializePrimitiveAsStream()
        {
            var p = Primitives.Create(10);

            Assert.IsTrue(this.Serializer.CanSerializeStream <Primitives>(p));
        }
        public void CanSerializePrimitiveAsBytes()
        {
            var p = Primitives.Create(10);

            Assert.IsTrue(this.Serializer.CanSerializeBytes <Primitives>(p));
        }