title: How to fix scala mock error where the implicit arg is not specified?
body: <p>I have a class I am trying to mock with scala mock but I am getting a compilation error. How can I correct this error or specify the implicit correctly?</p>
  
  <p>It says the implicit arg is unspecified.</p>
  
  <p>I tried following the guide on the scala mock site. I have also tried different ways of specifying the implicit value.</p>
  
  <p>I am creating the mock here</p>
  
  <pre><code>val mockUserSessionApiGatewayHandler = mock[UserSessionApiGatewayHandler]
  </code></pre>
  
  <p>Here is the method signature</p>
  
  <pre><code>def userExists[F[+_] : Monad](request: UserNameAndPasswordEvent)(implicit awsProxy: DatabaseProxy[F, UserTable])
  </code></pre>
  
  <p>I am specifying the mock here</p>
  
  <pre><code>(mockUserSessionApiGatewayHandler.userExists[IO] (_: UserNameAndPasswordEvent) ( _: DatabaseProxy[IO, UserTable]) )
              .expects(testUserNameAndPasswordEvent, *)
              .returning(EitherT.rightT[IO, String]("User Does Not Exist"))
  </code></pre>
  
  <p>Here is the error</p>
  
  <pre><code>not enough arguments for method userExists: (implicit evidence$3: cats.Monad[cats.effect.IO], implicit awsProxy: lambdas.database.DatabaseProxy[cats.effect.IO,lambdas.database.UserTable])cats.data.EitherT[cats.effect.IO,String,String].
  [error] Unspecified value parameter awsProxy.
  [error]           (mockUserSessionApiGatewayHandler.userExists[IO] (_: UserNameAndPasswordEvent) ( _: DatabaseProxy[IO, UserTable]) )
  [error]                                                                                          ^
  [error] one error found
  
  </code></pre>