spring-framework / org.springframework.test.web.servlet.result / ContentResultMatchers / source

source

open fun source(matcher: Matcher<in Source>): ResultMatcher

Parse the response content as DOMSource and apply the given Hamcrest Matcher.

See Also
<a href="http://code.google.com/p/xml-matchers/">xml-matchers</a>