This works: ```val arguments = mockk<MutableMap...
# mockk
p
This works:
Copy code
val arguments = mockk<MutableMap<String, Any>> { every { containsKey(any()) } returns true }
every { environment.arguments } returns arguments
But this does not:
Copy code
every { environment.arguments } returns mockk { every { containsKey(any()) } returns true }
Can I not inline the answer like this? The section on hierarchical mocking in the documentation has a similar example.