package org.requirementsascode.systemreaction;

import java.util.function.Consumer;

import org.requirementsascode.Step;
import org.requirementsascode.UseCase;
import org.requirementsascode.UseCaseModelRunner;

public class IncludeUseCase implements Consumer<UseCaseModelRunner> {
  private UseCase includedUseCase;
  private Step includeStep;

  public IncludeUseCase(UseCase includedUseCase, Step includeStep) {
    this.includedUseCase = includedUseCase;
    this.includeStep = includeStep;
  }

  @Override
  public void accept(UseCaseModelRunner runner) {
    runner.includeUseCase(includedUseCase, includeStep);
  }

  public UseCase getIncludedUseCase() {
    return includedUseCase;
  }
}

@@ -41,16 +41,45 @@
 ction;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -300,18 +300,105 @@
 lRunner%3E
+, Serializable %7B%0A  private static final long serialVersionUID = -9078568632090369442L;%0A 
  
-%7B
 %0A  priva

Make IncludeUseCase class Serializable