Using MockitoSugar trait from scalatest.