public void testFileNameWithSuffix()
{
File reportDir = new File( System.getProperty( "java.io.tmpdir" ) );
String suffixText = "sampleSuffixText";
reportEntry = new SimpleReportEntry( this.getClass().getName(), testName );
reporter = new ConsoleOutputFileReporter( reportDir, suffixText );
reporter.testSetStarting( reportEntry );
reporter.writeTestOutput( "some text".getBytes(), 0, 5, true );
reporter.testSetCompleted( reportEntry );
File expectedReportFile = new File( reportDir, testName + "-" + suffixText + "-output.txt" );