コード例 #1
0
        public void ClearDomain_DecrementsStepToOperator()
        {
            TagProfile tagProfile = new TagProfile();

            Assert.AreEqual(RegistrationStep.Operator, tagProfile.Step);
            tagProfile.SetDomain("domain");
            Assert.AreEqual(RegistrationStep.Account, tagProfile.Step);
            tagProfile.ClearDomain();
            Assert.AreEqual(RegistrationStep.Operator, tagProfile.Step);
        }