Package org.apache.juneau.rest.mock.classic
package org.apache.juneau.rest.mock.classic
Mocked REST client and supporting classes for in-JVM testing built on the classic Apache HttpClient API.
Provides MockRestClient and its associated
request/response
wrappers, along with helpers for capturing console output and log messages, allowing REST resources to be
exercised without starting a server.
-
ClassesClassDescriptionA capturing
PrintStreamthat allows you to easily capture console output.Simplified logger for intercepting and asserting logging messages.MockedRestClient.Builder class.A subclass ofRestRequestwith additional features for mocked testing.A subclass ofRestResponsewith additional features for mocked testing.