}</BUG>
this.simulationSource = simulationSource;
importSimulationSource();
}
private void importSimulationSource() {
<BUG>if (hoverflyMode == SIMULATE) {
</BUG>
hoverfly.importSimulation(simulationSource);
}
<BUG>}
}

</BUG>

public HoverflyMode getHoverflyMode() {
return hoverflyMode;
}
public void simulate(SimulationSource simulationSource) {
if (simulationSource == null) {
simulationSource = empty();
}
this.simulationSource = simulationSource;
importSimulationSource();
}
private void importSimulationSource() {
if (hoverfly.getMode() == SIMULATE) {
hoverfly.importSimulation(simulationSource);
