org.optaplanner.core.impl.score.director.drools.testgen.reproducer

## Interface TestGenOriginalProblemReproducer

- All Known Implementing Classes:
    TestGenCorruptedScoreReproducer, TestGenCorruptedVariableListenerReproducer, TestGenDroolsExceptionReproducer

      public interface TestGenOriginalProblemReproducer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `assertReproducible(TestGenKieSessionJournal journal, String contextDescription)` Throws exception if the original problem is not reproducible with the given journal.
    `boolean` | `isReproducible(TestGenKieSessionJournal journal)` Replay the journal and decide if the original problem is reproducible.

- - ### Method Detail

    - #### isReproducible

          boolean isReproducible(TestGenKieSessionJournal journal)

      Replay the journal and decide if the original problem is reproducible.
      Parameters:
        `journal` - journal tested for the original problem
      Returns:
        true if replaying the journal leads to the original problem

    - #### assertReproducible

          void assertReproducible(TestGenKieSessionJournal journal,
                                  String contextDescription)

      Throws exception if the original problem is not reproducible with the given journal.
      Parameters:
        `journal` - journal tested for the original problem
        `contextDescription` - describes the context in which the problem should be reproducible

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.