Using ScalaMock.