ASP.Net MVC: how to write unit test code when working with ValidationAttribute and IClientValidatable
问题 apologized to post bit similar question here. i am bit familiar with asp.net mvc but very new in unit testing. do not think that i know lot just see my reputation in stackoverflow. i like to know how to write unit test code for IsValid and IEnumerable<ModelClientValidationRule> GetClientValidationRules here i am pasting my code including my model. so anyone help me to write unit test code for the above two function. i am new in unit testing and working with VS2013 and using VS unit testing