'Test setup with minimum configuration.'

@mock.patch('mficlient.client.MFiClient')
def test_setup_minimum(self, mock_client):

    config = dict(self.GOOD_CONFIG)
    del config[self.THING]['port']
    assert setup_component(self.hass, self.COMPONENT.DOMAIN, config)
    self.assertEqual(mock_client.call_count, 1)
    self.assertEqual(mock_client.call_args, mock.call('foo', 'user', 'pass', port=6443, use_tls=True, verify=True))
