'Test setup with all data.'

def test_setup_config_full(self):

    config = {'splunk': {'host': 'host', 'port': 123, 'token': 'secret', 'ssl': 'False', 'name': 'hostname'}}
    self.hass.bus.listen = mock.MagicMock()
    self.assertTrue(setup_component(self.hass, splunk.DOMAIN, config))
    self.assertTrue(self.hass.bus.listen.called)
    self.assertEqual(EVENT_STATE_CHANGED, self.hass.bus.listen.call_args_list[0][0][0])
