protected static class AbstractRequestExpectationManager.RequestExpectationGroup extends ObjectSE
修飾子 | コンストラクターと説明 |
---|---|
protected | RequestExpectationGroup() |
修飾子と型 | メソッドと説明 |
---|---|
void | addAllExpectations(CollectionSE<RequestExpectation> expectations) |
RequestExpectation | findExpectation(ClientHttpRequest request) 一致する期待値を返します。一致するものがなければ null を返します。 |
SetSE<RequestExpectation> | getExpectations() |
void | reset() このグループのすべての期待をリセットします。 |
void | update(RequestExpectation expectation) 一致した期待値に対してこれを呼び出します。 |
void | updateAll(CollectionSE<RequestExpectation> expectations) 使用すべきではありません。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void addAllExpectations(CollectionSE<RequestExpectation> expectations)
public SetSE<RequestExpectation> getExpectations()
@Nullable public RequestExpectation findExpectation(ClientHttpRequest request) throws IOExceptionSE
null
を返します。public void update(RequestExpectation expectation)
指定された期待値のカウントがインクリメントされ、remainingCount> 0 の場合に格納されるか、それ以外の場合は削除されます。
@DeprecatedSE public void updateAll(CollectionSE<RequestExpectation> expectations)
addAllExpectations(java.util.Collection<org.springframework.test.web.client.RequestExpectation>)
を使用する場合 public void reset()