class WebMock::HttpLibAdapters::NetHttpAdapter

def self.enable!

def self.enable!
  Net.send(:remove_const, :HTTP)
  Net.send(:const_set, :HTTP, @webMockNetHTTP)
  if HAS_LEGACY_CONSTANT
    remove_silently(Net, :HTTPSession)
    Net.send(:const_set, :HTTPSession, @webMockNetHTTP)
  end
end