I'm trying to do a little Test-First development, and I'm trying to verify that my classes are marked with an attribute:
[SubControllerActionToViewDataAttribute]
public class ScheduleController : Controller
How do I unit test that the class has that attribute assigned to it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…