public void Should_generate_valid_passwords()
        {
            var user = GetUser();
            DefaultPasswordGenerator d = new DefaultPasswordGenerator(GetDefaultSettingsReader());
            var pass  = d.GetPassword(new PasswordGeneratorInfo(user));
            var pass1 = d.GetPassword(new PasswordGeneratorInfo(user.MyShopifyDomain, user.Email));

            Assert.NotNull(pass);
            Assert.NotNull(pass1);
            Assert.Equal(pass, pass1);
            //Assert.Equal(ValidPassword, pass);
        }
        public void Should_throw_exception_on_invalid_domain_name()
        {
            DefaultPasswordGenerator d = new DefaultPasswordGenerator(GetDefaultSettingsReader());
            var user = GetUser();

            user.MyShopifyDomain = null;

            Assert.Throws <Exception>(() => d.GetPassword(new PasswordGeneratorInfo(user))).Message.Contains("My shopify domain name is not valid");
        }