接口的使用
cn.taketoday.test.web.client.ResponseActions
使用ResponseActions的程序包
程序包
说明
Web client test utilities.
Contains client-side REST testing support.
-
cn.taketoday.framework.test.web.client中ResponseActions的使用
修饰符和类型方法说明RootUriRequestExpectationManager.expectRequest(ExpectedCount count, RequestMatcher requestMatcher) -
cn.taketoday.test.web.client中ResponseActions的使用
修饰符和类型接口说明interfaceAn extension ofResponseActionsthat also implementsRequestMatcherandResponseCreator修饰符和类型类说明classDefault implementation ofRequestExpectationthat simply delegates to the request matchers and the response creator it contains.修饰符和类型方法说明DefaultRequestExpectation.andExpect(RequestMatcher requestMatcher) ResponseActions.andExpect(RequestMatcher requestMatcher) Add a request expectation.MockRestServiceServer.expect(ExpectedCount count, RequestMatcher matcher) An alternative toMockRestServiceServer.expect(RequestMatcher)that also indicates how many times the request is expected to be executed.MockRestServiceServer.expect(RequestMatcher matcher) Set up an expectation for a single HTTP request.AbstractRequestExpectationManager.expectRequest(ExpectedCount count, RequestMatcher matcher) RequestExpectationManager.expectRequest(ExpectedCount count, RequestMatcher requestMatcher) Set up a new request expectation.