Native Java bindings for Mountebank
Functional but not under active development. I accept pull requests, and generally get them merged within a week, and the resulting build out to central within a few hours of a successful merge.
You'll need to at least include javabank-core. This includes all of the classes which let you build imposters, predicates, and the like. It also handles serialization to and from JSON.
<dependency> <groupId>org.mbtest.javabank</groupId> <artifactId>javabank-core</artifactId> <version>0.4.10</version> </dependency>
If you also need a REST client to talk to Mountebank, you can include the javabank-client library. I use unirest as my client of choice. If you already have a rest client in your application, you can save some overhead by continuing to use that instead, though that route will require you to learn a little more about the Mountebank REST API.
<dependency> <groupId>org.mbtest.javabank</groupId> <artifactId>javabank-client</artifactId> <version>0.4.10</version> </dependency>