Other Options
On This Page
This section explains some additional options that the FixtureMonkeyBuilder
provide.
Add plugins
Fixture Monkey offers several additional features, including support for third-party libraries through plugins. You can use the plugin option to use these additional features.
For example, you can add the Jackson plugin as shown below.
This will allow you to use Jackson features such as JacksonObjectArbitraryIntrospector
and Jackson annotation support.
FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
.plugin(new JacksonPlugin())
.build();
val fixtureMonkey = FixtureMonkey.builder()
.plugin(JacksonPlugin())
.build()