public void close() {
cleanUp();
}
public void importSimulation(SimulationSource simulationSource) {
LOGGER.info("Importing simulation data to Hoverfly");
<BUG>simulationSource.getSimulation().ifPresent((Simulation s) -> {
try {
final byte[] jsonContent = OBJECT_MAPPER.writeValueAsBytes(s);
</BUG>
RequestBody body = RequestBody.create(JSON, jsonContent);

public void close() {
cleanUp();
}
public void importSimulation(SimulationSource simulationSource) {
LOGGER.info("Importing simulation data to Hoverfly");
final Simulation simulation = simulationSource.getSimulation();
try {
final byte[] jsonContent = OBJECT_MAPPER.writeValueAsBytes(simulation);
RequestBody body = RequestBody.create(JSON, jsonContent);
