public void PassComplexModel() { var model = new ComplexModel { // will pass FirstSummary = SOME_CRAZY_STRING, // will pass Model = new RequiredModel { Summary = SOME_CRAZY_STRING, }, }; Pass(model); }
public void NotPassComplexModel() { var model = new ComplexModel { // will pass FirstSummary = SOME_CRAZY_STRING, // won't pass Model = new RequiredModel { Summary = string.Empty, }, }; NotPass(model); }