public void ConstructorAssignsAttemptedMatch() { var target = new NoDataTemplateMatchException(typeof(firstparam), new List <Type> { typeof(secondparam) }); Assert.AreEqual(target.AttemptedMatch, typeof(firstparam)); }
public void ConstructorAssignsTypeNamesExamined() { var target = new NoDataTemplateMatchException(typeof(firstparam), new List <Type> { typeof(secondparam) }); Assert.Contains("secondparam", target.TypeNamesExamined); }
public void ConstructorSetsMessage() { var target = new NoDataTemplateMatchException(typeof(firstparam), new List <Type> { typeof(secondparam) }); Assert.IsNotNullOrEmpty(target.Message); }