'should receive the find method
and the query and use them in exception'

def test_not_found_exception_with_query_and_method(self):

    with self.assertRaises(ElementDoesNotExist) as cm:
        the_list = ElementList([], find_by='id', query='menu')
        the_list.first
    expected_message = 'no    elements    could    be    found    with    id    "menu"'
    e = cm.exception
    self.assertEqual(expected_message, e.args[0])
