public void Counstruct_ValidInstance_CharSepConstructor_NewLine_Success() { SettingEmailAttribute sut = new SettingEmailAttribute('\n'); Assert.IsNotNull(sut); Assert.IsTrue(sut.AllowMultiple); Assert.AreEqual('\n', sut.SeperatorChar); }
public void Counstruct_ValidInstance_DefaultConstructor_Success() { SettingEmailAttribute sut = new SettingEmailAttribute(); Assert.IsNotNull(sut); Assert.IsFalse(sut.AllowMultiple); Assert.AreEqual('\0', sut.SeperatorChar); }