package arez.dom;

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

@SuppressWarnings( "Duplicates" )
public abstract class AbstractTest
{
  @BeforeMethod
  protected void beforeTest()
  {
    ArezTestUtil.resetConfig( false );
  }

  @AfterMethod
  protected void afterTest()
  {
    ArezTestUtil.resetConfig( true );
  }
}

package arez.dom;

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

public abstract class AbstractTest
{
  @BeforeMethod
  protected void beforeTest()
  {
    ArezTestUtil.resetConfig( false );
  }

  @AfterMethod
  protected void afterTest()
  {
    ArezTestUtil.resetConfig( true );
  }
}

Remove unnecessary suppress