Fix TestWorkflowRule#Builder#setWorkerFactoryOptions method signature in accordance with Builder interface
@@ -154,8 +154,9 @@ public class TestWorkflowRule implements TestRule {
return this;
}
- public void setWorkerFactoryOptions(WorkerFactoryOptions options) {
+ public Builder setWorkerFactoryOptions(WorkerFactoryOptions options) {
this.workerFactoryOptions = options;
+ return this;
}
/**
