def METHOD_NAME(self):
    """Test get result method when results exist."""
    conn_result = self.scan_task.connection_result
    results = self.scan_task.get_result()
    self.assertEqual(results, conn_result)