In JUnit5 you can use MockKExtension to initialize your mocks. @ExtendWith(MockKExtension::class) class CarTest ...
確定! 回上一頁