David Kubecka
04/25/2023, 2:55 PM@MockkBean
supposed to influence the Spring context cache? In my experience, there's a difference between
@MockkBean(SomeDependency::class)
class TestClass
and
class TestClass @Autowired constructor(@MockkBean val dep: SomeDependency)
in that each setup leads to a different Spring context. Is this expected?