public void TestRegisterUser()
        {
            RegistrationService.RegistrationService registrationInstance = new RegistrationService.RegistrationService();

            DatabaseSmoObjectsAndSettings settings = registrationInstance.RegistrationManager_Property.SmoSettings[RegistrationManager.CONNECTION_STRING_NAME];

            bool didItExist = false;

            //first Delete everything then create a new registration for testing
            //For this test i need to make sure that an existing registration for this username does not exist
            bool deletedSuccess = registrationInstance.DeleteRegistration("testusername-registration", out didItExist);

            Assert.AreEqual <bool>(deletedSuccess, didItExist);

            Account account =
                new Account(settings)
            {
                AccountID       = Guid.NewGuid(),
                AccountUsername = "******",
                AccountPassword = "******",
                AccountCode     = "REGISTRATION"
            };



            Person person =
                new Person(settings)
            {
                PersonID             = Guid.NewGuid(),
                PersonFirstName      = "Register",
                PersonMiddleInitials = "RG",
                PersonLastName       = "User"
            };

            Address address =
                new Address(settings)
            {
                AddressID      = Guid.NewGuid(),
                AddressStreet  = "1234 anytown",
                AddressCity    = "Bellingham",
                AddressZipCode = "98229",
                AddressCountry = "USA",
                AddressTypeID  = new Guid("74EE21B4-29F0-4EA9-B1C0-40CCD2D5BE00")
            };


            PhoneNumber phoneNumber =
                new PhoneNumber(settings)
            {
                PhoneNumberTypeID    = new Guid("B7CC6F6C-F435-4EF1-BFD8-92BCAFB2C4C3"),
                PhoneNumber_Property = "555-123-4567"
            };

            EmailAddress emailAddress =
                new EmailAddress(settings)
            {
                EmailAddressID        = Guid.NewGuid(),
                EmailAddress_Property = "*****@*****.**"
            };

            ProfileType profileType =
                new ProfileType(settings)
            {
                ProfileTypeID = new Guid("4CCBD7AB-8725-41C8-93EA-CC5A14718A1D"),
                ProfileName   = "Administrator"
            };

            bool success = registrationInstance.Register(account,
                                                         person,
                                                         address,
                                                         phoneNumber,
                                                         emailAddress,
                                                         profileType);

            Assert.IsTrue(success);
        }
 //[TestMethod]
 public void TestRegistrationInstantiation()
 {
     RegistrationService.RegistrationService registrationInstance = new RegistrationService.RegistrationService();
     Assert.IsTrue(registrationInstance != null);
 }