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