title: How to Unit Test when using ScalaJ-Http?
body: <p>I am looking to use ScalaJ-Http as a http client. Link: <a href="https://github.com/scalaj/scalaj-http" rel="noreferrer">https://github.com/scalaj/scalaj-http</a></p>
  
  <p>How would I mock <code>Http</code> or <code>HttpRequest</code> in a unit test for a class with a line of code like this <code>val response: HttpResponse[String] = Http("http://foo.com/search").param("q","monkeys").asString</code>?</p>
  
  <p>The class will take the url and params from method call arguments. So I cannot inject <code>HttpRequest</code>.</p>