public void ClassNotSpecifyingTheNameAttribute() { var result = JobExtensions.GetName(typeof(NoNameAttribute)); Assert.Equal("NoNameAttribute", result); }
public void ClassSpecifyingTheNameAttributeWithAName() { var result = JobExtensions.GetName(typeof(NameAttributeWithName)); Assert.Equal("HelloWorld", result); }