Example #1
0
        public void GetFileNameTest()
        {
            var fileName = new ImageInfo
            {
                Name      = "AAAA",
                Url       = "next.voz.vn",
                Extension = "png",
                Data      = new byte[10]
            }.GetFileName();

            Assert.IsTrue(fileName.Contains("AAAA"));
        }