コード例 #1
0
        public void Should_AddNotificationSettings()
        {
            UserNotificationSetting userNotificationSetting = new UserNotificationSetting(operationCode, cr, notificationCodeId, sms, isEmail, userRoleId);
            UserProfile             userProfile             = new UserProfile(userId, userName, fullName, mobile, email, new List <UserNotificationSetting>()
            {
                new UserNotificationSetting()
            });

            userProfile.AddNotificationSettings(new List <UserNotificationSetting>()
            {
                userNotificationSetting
            });
            Assert.NotEmpty(userProfile.NotificationSetting);
        }