Hi, I'm trying to create Unit Tests for my Control...
# spring
a
Hi, I'm trying to create Unit Tests for my Controllers using MockMvc & Mockito. I am getting the following error
kotlin.UninitializedPropertyAccessException: lateinit property mockMvc has not been initialized
, I was expecting the MockMvc Bean to have been initialised by the
@AutoConfigureMockMvc
annotation which is defined on WebMvcTest. Am I missing something obvious?