Beispiel #1
0
 public void CreateEnumerable_ParameterCountLessThanZero_ValidateMoreThanOrEquals()
 {
     AssertValidation.MoreThanOrEquals(
         (s) => ReflectionUtils.CreateEnumerable(typeof(List <>), typeof(int), s),
         "ParametersCount", 0);
 }
 public void CreateDictonary_ParameterCountLessThanZero_ValidateMoreThanOrEquals()
 {
     AssertValidation.MoreThanOrEquals(
         (s) => ReflectionUtils.CreateDictionary(typeof(Dictionary <,>), typeof(int), typeof(int), s),
         "ParametersCount", 0);
 }