You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: package_remove_test.rb
    path of file: ./repos/open-build-service/src/api/test/unit
    
    the code of the file until where you have to start completion: # Testing the things that should and shoul
    
  def test_destroy_source_revokes_request
    User.session = users(:Iggy)
    branch_package
    create_request

    @package.destroy

    @request.reload
    assert_equal :revoked, @request.state
    assert_equal "The package 'home:Iggy:branches:Apache/apache2' has been removed", @request.comment
    assert_equal 1, HistoryElement::RequestRevoked.where(op_object_id: @request.id).count
  end