クラスの使用
org.springframework.test.web.client.match.XpathRequestMatchers
org.springframework.test.web.client.match 内の XpathRequestMatchers 使用
修飾子と型メソッド説明static XpathRequestMatchers
XPath を使用してボディマッチャーをリクエストして、ボディの特定のサブセットをインスペクションするアクセス。static XpathRequestMatchers
MockRestRequestMatchers.xpath
(StringSE expression, MapSE<StringSE, StringSE> namespaces, ObjectSE... args) XPath を使用してボディの特定のサブセットをインスペクションするレスポンスボディマッチャーへのアクセス。