def METHOD_NAME(empty_swagger_spec, int_array_spec):
    i_am_not_a_list = dict()
    with pytest.raises(SwaggerMappingError) as excinfo:
        marshal_array(empty_swagger_spec, int_array_spec, i_am_not_a_list)
    assert 'Expected list like type' in str(excinfo.value)