def METHOD_NAME(test_helper):
    result = test_helper.list_resource_method()
    assert len(result) == 0
    resources_names = []
    for i in range(20):
        test_helper.create_resource_method("test_resource{}".format(i))
        resources_names.append("test_resource{}".format(i))
    result = test_helper.list_resource_method()
    assert len(result) == 20
    sorted_resources_names = sorted(resources_names)
    result = test_helper.list_resource_method(start_index=5, max_count=10)
    expected_result = sorted_resources_names[5:15]
    assert len(result) == 10
    for item in result:
        expected_result.remove(test_helper.get_resource_name(item))
    assert len(expected_result) == 0
    result = test_helper.list_resource_method(max_count=0)
    assert len(result) == 0
    queues = test_helper.list_resource_method(start_index=0, max_count=0)
    assert len(queues) == 0
    cnt = 20
    for name in resources_names:
        test_helper.delete_resource_by_name_method(name)
        cnt -= 1
        assert len(test_helper.list_resource_method()) == cnt
    assert cnt == 0
    result = test_helper.list_resource_method()
    assert len(result) == 0