Add SAM conversion example for MockMvcResultHandlersDsl.handle()
See gh-23757
This commit is contained in:
@@ -80,6 +80,9 @@ class MockMvcExtensionsTests {
|
||||
match(matcher)
|
||||
}.andDo {
|
||||
handle(handler)
|
||||
handle {
|
||||
matcherInvoked = true
|
||||
}
|
||||
}
|
||||
assertThat(matcherInvoked).isTrue()
|
||||
assertThat(handlerInvoked).isTrue()
|
||||
|
||||
Reference in New Issue
Block a user