def METHOD_NAME(self, qbittorrent_client):
    plugin = QBittorrentClientPlugin()
    settings = self.DEFAULT_SETTINGS
    plugin.set_settings(settings)
    self.assertNotEqual(False, plugin.check_connection())
    qbittorrent_client.assert_called_with(host=QBittorrentClientPlugin.ADDRESS_FORMAT.format('localhost', QBittorrentClientPlugin.DEFAULT_PORT),
                                           username='monitorrent', password='monitorrent')