public void Counstruct_ValidInstance_DefaultConstructor_Success() { SettingException sut = new SettingException(); Assert.IsNotNull(sut); Assert.IsNull(sut.PropertyName); }
public void Counstruct_ValidInstance_WithPropertyName_Success() { SettingException sut = new SettingException("My Property", null); Assert.IsNotNull(sut); Assert.IsNotNull(sut.PropertyName); Assert.AreEqual("My Property", sut.PropertyName); }