@Rule
public ServiceHelper serviceHelper = ServiceHelper.create(this::init, "styx");
private final Api.Version version;</BUG>
private Storage storage = new InMemStorage();
public CliResourceTest(Api.Version version) {
<BUG>this.version = version;
}
private void init(Environment environment) {
final CliResource cliResource = new CliResource(SCHEDULER_BASE, storage);</BUG>
environment.routingEngine()

private static final String OTHER_COMPONENT_ID = "styx-other";
private static final WorkflowInstance WFI =
WorkflowInstance.create(WorkflowId.create(COMPONENT_ID, ENDPOINT_ID), PARAMETER);
private static final WorkflowInstance OTHER_WFI =
WorkflowInstance.create(WorkflowId.create(OTHER_COMPONENT_ID, ENDPOINT_ID), PARAMETER);
private Storage storage = new InMemStorage();
public CliResourceTest(Api.Version version) {
super(CliResource.BASE, version);
}
@Override
void init(Environment environment) {
final CliResource cliResource = new CliResource(SCHEDULER_BASE, storage);
environment.routingEngine()
