Exemple #1
0
        public void Xid_Equals_NotEqualToNull()
        {
            var x = Xid.NewXid();

            Assert.AreNotEqual(x, null);
        }
Exemple #2
0
        public void Xid_Equals_NotEqualToNonXid()
        {
            var x = Xid.NewXid();

            Assert.AreNotEqual(x, new object());
        }
        public void Xid_ToByte_ThrowsOnNullBuffer()
        {
            var x = Xid.NewXid();

            x.ToBytes(null);
        }