def METHOD_NAME(upgrader, library_3_0):
    value = upgrader.upgrade('library', library_3_0, target_version='4')
    assert value['schema_version'] == '4'
    assert value['fragmentation_method'] == 'shearing (Covaris generic)'