def METHOD_NAME(self):
    """Test method to get connection data from task."""
    host, port, user, password = get_connect_data(self.scan_task)
    self.assertEqual(host, "1.2.3.4")
    self.assertEqual(port, 443)
    self.assertEqual(user, "username")
    self.assertEqual(password, "password")