package org.realityforge.arez.api2;

import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;

public abstract class AbstractArezTest
{
  @BeforeMethod
  protected void beforeTest()
    throws Exception
  {
    final ArezConfig.DynamicProvider provider = (ArezConfig.DynamicProvider) ArezConfig.getProvider();
    provider.setEnableNames( true );
    provider.setVerboseErrorMessages( true );
    provider.setCheckInvariants( true );
    provider.setEnforceTransactionType( true );
  }

  @AfterMethod
  protected void afterTest()
    throws Exception
  {
    final ArezConfig.DynamicProvider provider = (ArezConfig.DynamicProvider) ArezConfig.getProvider();
    provider.setEnableNames( false );
    provider.setVerboseErrorMessages( false );
    provider.setCheckInvariants( false );
    provider.setEnforceTransactionType( false );
  }
}

@@ -449,32 +449,92 @@
 riants( true );%0A
+    provider.setPurgeReactionsWhenRunawayDetected( false );%0A
     provider.set
@@ -861,32 +861,91 @@
 iants( false );%0A
+    provider.setPurgeReactionsWhenRunawayDetected( true );%0A
     provider.set

Add missing setup configuration