title: How do you use scalamock to mock a class with constructor parameters
body: <p>I know how to mock a class that has no constructor parameters </p>
  
  <p>e.g.,
  <code>myMock = mock[MockClass]</code></p>
  
  <p>However, what do you do if the class has constructor parameters?</p>
  
  <p>More specifically I'm trying to mock the finatra class: <code>ResponseBuilder</code></p>
  
  <p><a href="https://github.com/ImLiar/finatra/blob/master/src/main/scala/com/twitter/finatra/ResponseBuilder.scala" rel="nofollow noreferrer">https://github.com/ImLiar/finatra/blob/master/src/main/scala/com/twitter/finatra/ResponseBuilder.scala</a></p>