public void CreateDataBaseContactInformation()
        {
            Guid testGuid = Guid.NewGuid();
            DataBaseContactInformation contactInformation = _dataBaseContactInformationFactory.CreateDataBaseContactInformation(testGuid, "Fredrik", "Jonasson", "*****@*****.**");

            Assert.Equal("Fredrik", contactInformation.FirstName);
            Assert.Equal("Jonasson", contactInformation.LastName);
            Assert.Equal("*****@*****.**", contactInformation.Email);
            Assert.Equal(testGuid, contactInformation.Id);
        }
        public void CreateParticipantShould()
        {
            DataBaseContactInformation DataBaseContactInformation = SetUpDataBaseContactInformation();
            Guid testGuid = Guid.NewGuid();


            DataBaseParticipant participant = _dataBaseParticipantFactory.CreateDataBaseParticipant(testGuid, DataBaseContactInformation);

            Assert.Equal(testGuid, participant.Id);
            Assert.Equal("Fredrik", participant.ContactInformation.FirstName);
        }
        public DataBaseContactInformation SetUpDataBaseContactInformation()
        {
            DataBaseContactInformation dataBaseContactInformation = _dataBaseContactInformationFactory.CreateDataBaseContactInformation(Guid.NewGuid(), "Fredrik", "Jonasson", "*****@*****.**");

            return(dataBaseContactInformation);
        }
        public DataBaseParticipant CreateDataBaseParticipant(Guid id, DataBaseContactInformation contactInformation)
        {
            DataBaseParticipant participant = new DataBaseParticipant(id, contactInformation);

            return(participant);
        }
        public DataBaseContactInformation CreateDataBaseContactInformation(Guid id, string firstName, string lastName, string email)
        {
            DataBaseContactInformation contactInformation = new DataBaseContactInformation(id, firstName, lastName, email);

            return(contactInformation);
        }