コード例 #1
0
        public void TestSetProfilePhotoypesDTO()
        {
            var results = new PhotoTypeDTO();
            LogHelper.LogInformation("Here we go...");
            try
            {
                var dmgr = new DataManager();
                results.refPhotoTypes = dmgr.GetRefPhotoTypes();
                results.SetProfilePhotoypes();
            }
            catch (Exception ex)
            {
                LogHelper.LogError(ex, "What Happened?");
                results = null;
            }

            Assert.IsFalse(results.profilePhotoTypes == null);
        }