v79
08/10/2019, 12:09 PMforEach
call? I'm hoping to mock a FileTreeWalk
, so I can feed in mocked Files to a method. val mSourcesTreeWalk = mockk<FileTreeWalk>()
every { mSourceDirectory.walk()} returns mSourcesTreeWalk
crashes with an io.mockk.MockKException: Missing calls inside every { ... } block.
message on the val mSourcesTreeWalk = mockk<FileTreeWalk>()
line.