示例#1
0
        public void WorldName_NullValue_ThrowsArgumentNullException()
        {
            var packet = new WorldInfo();

            Assert.Throws <ArgumentNullException>(() => packet.WorldName = null !);
        }
示例#2
0
        public void WorldName_GetNullValue()
        {
            var packet = new WorldInfo();

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