if ( classFolder != null ) return classFolder;  String className = getClass( ).getName( ); int lastDotIndex = className.lastIndexOf( "." );
String pathBase = null;  ProtectionDomain domain = this.getClass( ).getProtectionDomain( ); if ( domain != null ) { CodeSource source = domain.getCodeSource( ); if ( source != null ) { URL url = source.getLocation( ); pathBase = url.getPath( );  if ( pathBase.endsWith( "bin/" ) ) pathBase = pathBase.substring( 0, pathBase.length( ) - 4 ); if ( pathBase.endsWith( "bin" ) ) pathBase = pathBase.substring( 0, pathBase.length( ) - 3 ); } }  pathBase = pathBase + TEST_FOLDER; String className = this.getClass( ).getName( ); int lastDotIndex = className.lastIndexOf( "." );
	private File getBaseFolder( )	{		if ( classFolder != null )			return classFolder;				String className = getClass( ).getName( );		int lastDotIndex = className.lastIndexOf( "." );		className = className.substring( 0, lastDotIndex );		classFolder = new File( TEST_FOLDER, className.replace( '.', '/' ) );		return classFolder;	}