@BeforeClass public static void deleteIndicationsFile(){
  boolean wasException=false;
  try {
    StringBuffer fileNameBuff=new StringBuffer(System.getProperty(FileCimIndicationConsumer.WORKING_DIR_SYSTEM_VARIABLE));
    fileNameBuff.append(File.separator);
    fileNameBuff.append(FileCimIndicationConsumer.INDICATIONS_FILE_NAME);
    File outFile=new File(fileNameBuff.toString());
    if (outFile.exists()) {
      Assert.assertTrue(outFile.delete());
      Assert.assertFalse(outFile.exists());
    }
  }
 catch (  Exception e) {
    wasException=true;
  }
 finally {
    Assert.assertFalse(wasException);
  }
}

@ BeforeClass public static void deleteIndicationsFile ( ) { boolean wasException = false ; try { StringBuffer fileNameBuff = new StringBuffer ( System . getProperty ( FileCimIndicationConsumer . WORKING_DIR_SYSTEM_VARIABLE ) ) ; fileNameBuff . append ( File . separator ) ; fileNameBuff . append ( FileCimIndicationConsumer . INDICATIONS_FILE_NAME ) ; File outFile = new File ( fileNameBuff . toString ( ) ) ; if ( outFile . exists ( ) ) { Assert . assertTrue ( outFile . delete ( ) ) ; Assert . assertFalse ( outFile . exists ( ) ) ; } } catch ( Exception e ) { wasException = true ; } finally { Assert . assertFalse ( wasException ) ; } }
make sure indication file doesn ' t exist .
