Hey, are there any tricks to get MockMVC to work i...
# spring
s
Hey, are there any tricks to get MockMVC to work in Kotlin? Just trying to do something simple:
Copy code
@Before
    fun setUp() {
        mvc = MockMvcBuilders.webAppContextSetup(context).apply(springSecurity()).build()
    }
I get an error of:
Type inference failed: Not enough information to infer parameter T in ... Please specify it explicitly
on the apply method.