{new} juneau-rest-mock

##### Maven Dependency

<dependency> <groupId>org.apache.juneau</groupId> <artifactId>juneau-rest-mock</artifactId> <version>{@property juneauVersion}</version> </dependency>

##### Java Library

juneau-rest-mock-{@property juneauVersion}.jar

##### OSGi Module

org.apache.juneau.rest.mock_{@property juneauVersion}.jar

The juneau-rest-mock module contains convenience APIs for performing serverless unit testing of your REST APIs. Each of the APIs provide the ability to fully test your server and client REST interfaces without the need for a running servlet container.

The API consists of the following classes:

- {@link oajr.mock2}
  - {@link oajr.mock2.MockRest} - API for unit testing {@link oajr.annotation.RestResource @RestResource}-annotated classes.
  - {@link oajr.mock2.MockRemoteResource} - API for unit testing {@link oajrc.remote.RemoteResource @RemoteResource}-annotated classes.