コード例 #1
0
        public void Counstruct_ValidInstance_CharSepConstructor_NewLine_Success()
        {
            SettingEmailAttribute sut = new SettingEmailAttribute('\n');

            Assert.IsNotNull(sut);
            Assert.IsTrue(sut.AllowMultiple);
            Assert.AreEqual('\n', sut.SeperatorChar);
        }
コード例 #2
0
        public void Counstruct_ValidInstance_DefaultConstructor_Success()
        {
            SettingEmailAttribute sut = new SettingEmailAttribute();

            Assert.IsNotNull(sut);
            Assert.IsFalse(sut.AllowMultiple);
            Assert.AreEqual('\0', sut.SeperatorChar);
        }