public void SaveAchievement_Null_Exception()
 {
     ExceptionAssert.IsThrowing(new ArgumentNullException("achievement"), () => {
         m_target.SaveAchievement(null);
     });
 }
Пример #2
0
        /// <summary>
        /// Creates a new Achievement.
        /// </summary>
        /// <param name="achievement">The Achievement to create.</param>
        /// <returns>The created Achievement with the key.</returns>
        public Achievement Post(Achievement achievement)
        {
            m_service.SaveAchievement(achievement);

            return(achievement);
        }