To do this, they make use of the ScalaMock compiler plugin. Generated classes can be mocked using the org.scalamock.annotation.mock annotation.
確定! 回上一頁