def METHOD_NAME():
    '''Tests api_specific_name(), i.e. conversion to an
    API-specific string. '''
    Config.get().api = "dynamo0.3"
    assert AccessType.READ.api_specific_name() == "gh_read"
    assert AccessType.WRITE.api_specific_name() == "gh_write"
    assert AccessType.READWRITE.api_specific_name() == "gh_readwrite"
    assert AccessType.INC.api_specific_name() == "gh_inc"
    assert AccessType.READINC.api_specific_name() == "gh_readinc"
    assert AccessType.SUM.api_specific_name() == "gh_sum"
    assert AccessType.get_valid_reduction_modes() == [AccessType.SUM]
    assert AccessType.get_valid_reduction_names() == ["gh_sum"]
    # Use set to make this independent of the order:
    assert set(AccessType.all_write_accesses()) == set([AccessType.WRITE,
                                                        AccessType.READWRITE,
                                                        AccessType.INC,
                                                        AccessType.READINC,
                                                        AccessType.SUM])
    assert set(AccessType.all_read_accesses()) == set([AccessType.READ,
                                                       AccessType.READWRITE,
                                                       AccessType.READINC,
                                                       AccessType.INC])
    # Clean up the Config instance
    Config._instance = None