Example #1
0
        public void Uuid_Set_Get()
        {
            var packet = new ClientUuid();

            packet.Uuid = "Terraria";

            Assert.Equal("Terraria", packet.Uuid);
        }
Example #2
0
        public void Uuid_SetNullValue_ThrowsArgumentNullException()
        {
            var packet = new ClientUuid();

            Assert.Throws <ArgumentNullException>(() => packet.Uuid = null !);
        }
Example #3
0
        public void Uuid_GetNullValue()
        {
            var packet = new ClientUuid();

            Assert.Equal(string.Empty, packet.Uuid);
        }