'Runs the scan and verifies that the vulnerability with the specified
name was found.
:param vulnerability_names: The names of the vulnerabilities to be found
:return: None. Will raise assertion if fails'

def verify_found(self, vulnerability_names):

    desc = 'The    URL:    "%s"    uses    HTML5    websocket    "%s"'
    desc %= (self.target_url, self.target_url)
    i = Info('HTML5    WebSocket    detected', desc, 1, 'websockets_links')
    i.set_url(URL(self.target_url))
    i[WebSocketInfoSet.ITAG] = self.target_url
    info_set = WebSocketInfoSet([i])
    self.kb.append('websockets_links', 'websockets_links', i, info_set)
    cfg = RUN_CONFIG['cfg']
    self._scan(self.target_url, cfg['plugins'])
    vulns = self.kb.get('websocket_hijacking', 'websocket_hijacking')
    self.assertEqual(vulnerability_names, [v.get_name() for v in vulns])
