public void ConstructorAssignsPropertyName() { var target = new PropertyNotFoundException(typeof(firstparam),"propertyName",new List<string>{"first","second"},"caller"); Assert.AreEqual(target.PropertyName, "propertyName"); }
public void ConstructorAssignsAvailableProperties() { var target = new PropertyNotFoundException(typeof(firstparam),"propertyName",new List<string>{"first","second"},"caller"); Assert.IsNotEmpty (target.AvailableProperties); }
public void ConstructorSetsMessage() { var target = new PropertyNotFoundException(typeof(firstparam),"propertyName",new List<string>{"first","second"},"caller"); Assert.IsNotNullOrEmpty( target.Message); }