'make sure connection kwargs get set correctly'

def test_good_connection_parameters(self):

    kwargs = {'backpressure_detection': False, 'blocked_connection_timeout': 10.5, 'channel_max': 3, 'client_properties': {'good': 'day'}, 'connection_attempts': 2, 'credentials': credentials.PlainCredentials('very', 'secure'), 'frame_max': 40000, 'heartbeat': 7, 'host': 'https://www.test.com', 'locale': 'en', 'port': 5678, 'retry_delay': 3, 'socket_timeout': 100.5, 'ssl': True, 'ssl_options': {'ssl': 'options'}, 'virtual_host': u'vvhost'}
    params = connection.ConnectionParameters(**kwargs)
    expected_values = copy.copy(kwargs)
    self.assertSequenceEqual(sorted(expected_values), sorted(_ALL_PUBLIC_PARAMETERS_PROPERTIES))
    for t_param in expected_values:
        value = getattr(params, t_param)
        self.assertEqual(expected_values[t_param], value, msg=('Expected    %s=%r,    but    got    %r' % (t_param, expected_values[t_param], value)))
