public void EarnedAchievementMainText_MatchesAchievementName()
        {
            string       name            = "Test";
            IAchievement mockAchievement = Substitute.For <IAchievement>();

            mockAchievement.GetName().Returns(name);

            EarnedAchievementPM pm = new EarnedAchievementPM(mockAchievement);

            Assert.AreEqual(name, pm.ViewModel.GetPropertyValue <string>(InfoPopupProperties.MAIN_TEXT));
        }
 private void SetNameProperty(IAchievement i_achievement)
 {
     ViewModel.SetProperty(InfoPopupProperties.MAIN_TEXT, i_achievement.GetName());
 }