'Test setup with defaults.'

def test_setup_config_defaults(self):

    config = {'logentries': {'token': 'token'}}
    self.hass.bus.listen = mock.MagicMock()
    self.assertTrue(setup_component(self.hass, logentries.DOMAIN, config))
    self.assertTrue(self.hass.bus.listen.called)
    self.assertEqual(EVENT_STATE_CHANGED, self.hass.bus.listen.call_args_list[0][0][0])
