public class FlashAttributeResultMatchers extends ObjectSE
このクラスのインスタンスは通常、MockMvcResultMatchers.flash() を介してアクセスされます。
| 修飾子 | コンストラクターと説明 |
|---|---|
protected | FlashAttributeResultMatchers()protected コンストラクター。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
<T> ResultMatcher | attribute(StringSE name, Matcher<T> matcher) 指定された Hamcrest Matcher で flash 属性の値をアサートします。 |
ResultMatcher | attribute(StringSE name, ObjectSE value)flash 属性の値をアサートします。 |
ResultMatcher | attributeCount(int count) フラッシュ属性の数をアサートします。 |
ResultMatcher | attributeExists(StringSE... names) 指定されたフラッシュ属性の存在を表明します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected FlashAttributeResultMatchers()
MockMvcResultMatchers.flash() を使用します。public <T> ResultMatcher attribute(StringSE name, Matcher<T> matcher)
Matcher で flash 属性の値をアサートします。public ResultMatcher attribute(StringSE name, ObjectSE value)
public ResultMatcher attributeExists(StringSE... names)
public ResultMatcher attributeCount(int count)