Uses of Class
cloud.opencode.base.test.http.RequestVerification
Packages that use RequestVerification
-
Uses of RequestVerification in cloud.opencode.base.test.http
Methods in cloud.opencode.base.test.http that return RequestVerificationModifier and TypeMethodDescriptionRequestVerification.that(RequestMatcher matcher) Filters recorded requests by the given matcher.TestHttpServer.verify()Creates a request verification builder for asserting recorded requests.RequestVerification.wasCalled()Asserts that the matched requests were called at least once.RequestVerification.wasCalled(int times) Asserts that the matched requests were called exactly the specified number of times.RequestVerification.wasCalledAtLeast(int times) Asserts that the matched requests were called at least the specified number of times.RequestVerification.wasCalledAtMost(int times) Asserts that the matched requests were called at most the specified number of times.RequestVerification.wasNeverCalled()Asserts that no matching requests were recorded.Asserts that all matched requests have a body equal to the expected body.RequestVerification.withBodyContaining(String substring) Asserts that all matched requests have a body containing the expected substring.RequestVerification.withHeader(String name, String value) Asserts that all matched requests have the specified header with the expected value.