程序包的使用
cn.taketoday.test.web.client
程序包
说明
Web client test utilities.
Contains client-side REST testing support.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.-
类说明A simple type representing a range for an expected count.Main entry point for client-side REST testing.Encapsulates the behavior required to implement
MockRestServiceServerincluding its public API (create expectations + verify/reset) along with an extra method for verifying actual requests.A contract for matching requests to expectations.A contract for setting up request expectations and defining a response. -
类说明Base class for
RequestExpectationManagerimplementations responsible for storing expectations and actual requests, and checking for unsatisfied expectations at the end.Helper class to manage a group of remaining expectations.Helper class that keeps track of actual vs expected request count.A simple type representing a range for an expected count.Main entry point for client-side REST testing.Builder to create aMockRestServiceServer.An extension ofResponseActionsthat also implementsRequestMatcherandResponseCreatorEncapsulates the behavior required to implementMockRestServiceServerincluding its public API (create expectations + verify/reset) along with an extra method for verifying actual requests.A contract for matching requests to expectations.A contract for setting up request expectations and defining a response.A contract for creating aClientHttpResponse. -
-