@then(r"<STR_LIT>"<EOL>r"<STR_LIT>")<EOL>def then_then_returned_element_have_a_key(context, line, key, value):
line = int(line)<EOL>data = context.apiRequest.data<EOL>assert <NUM_LIT:0> <= line < len(data)<EOL>row = data[line]<EOL>assert key in row<EOL>assert row[key] == value<EOL>
:type line: str
:type key: str
:type value: str
:type context: behave.runner.Context