Пример #1
0
        public void ClassNotSpecifyingTheNameAttribute()
        {
            var result = JobExtensions.GetName(typeof(NoNameAttribute));

            Assert.Equal("NoNameAttribute", result);
        }
Пример #2
0
        public void ClassSpecifyingTheNameAttributeWithAName()
        {
            var result = JobExtensions.GetName(typeof(NameAttributeWithName));

            Assert.Equal("HelloWorld", result);
        }