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: dhcp_test.rb
    path of file: ./repos/foreman/test/models/orchestration
    
    the code of the file until where you have to start completion: require 'test_helper'

class DhcpOrchestrationTest < ActiveSupport::TestCase
  def setup
    disable_orchest
    
      def host_with_loader(loader)
        subnet = FactoryBot.build(:subnet_ipv4, :dhcp, :tftp, :httpboot)
        subnet.httpboot.stubs(:setting).returns(1234)
        as_admin do
          FactoryBot.create(:host, :with_tftp_orchestration_and_httpboot, :subnet => subnet, :pxe_loader => loader)
        end
      end