public void TestCreateProfileData() { try { var dataManager = new DataManager(); var userData = new UserData { UserID = 69, UserName = "******", FirstName = "David", LastName = "Puddy", Email = "*****@*****.**", DisplayName = "Eisenburg", PhoneNumber = "3016969696", }; ProfileEntity userResponse = new ProfileEntity { Id = 17, ResponseTypeID = 2 }; ProfileEntity userResponse2 = new ProfileEntity { Id = 12, ResponseTypeID = 1 }; ProfileEntity userResponse3 = new ProfileEntity { Id = 7, ResponseTypeID = 3 }; ProfileEntity userResponse4 = new ProfileEntity { Id = 20, ResponseTypeID = 2 }; ProfileEntity userResponse5 = new ProfileEntity { Id = 19, ResponseTypeID = 2 }; List<ProfileEntity> userRespounses = new List<ProfileEntity>(); List<ProfileEntity> matchRespounses = new List<ProfileEntity>(); bool hasValue = false; userRespounses.Add(userResponse); userRespounses.Add(userResponse2); userRespounses.Add(userResponse3); userRespounses.Add(userResponse4); userRespounses.Add(userResponse5); ProfileEntity matchResponse = new ProfileEntity { Id = 18, ResponseTypeID = 2 }; ProfileEntity matchResponse2 = new ProfileEntity { Id = 19, ResponseTypeID = 2 }; ProfileEntity matchResponse3 = new ProfileEntity { Id = 8, ResponseTypeID = 3 }; ProfileEntity matchResponse4 = new ProfileEntity { Id = 25, ResponseTypeID = 4 }; ProfileEntity matchResponse5 = new ProfileEntity { Id = 11, ResponseTypeID = 1 }; matchRespounses.Add(matchResponse); matchRespounses.Add(matchResponse2); matchRespounses.Add(matchResponse3); matchRespounses.Add(matchResponse4); matchRespounses.Add(matchResponse5); var userProfileData = new UserProfileData { UserData = userData, UserResponses = userRespounses, MatchResponses = matchRespounses }; dataManager.AddProfile(userProfileData); } catch (FormattedEntityValidationException ex) { LogHelper.LogInformation(ex.Message); } catch (Exception exception) { LogHelper.LogError(exception); } }