1   
2    /*
3     * Created on Jan 10, 2005 
4     *
5     * $Id: MethodArgumentCouldBeFinalTest.java,v 1.11 2006/11/15 02:14:30 tomcopeland Exp $
6     */
7    package> test.net.sourceforge.pmd.rules.optimization;
8    
9    import net.sourceforge.pmd.Rule;
10   import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
11   
12   public class MethodArgumentCouldBeFinalTest extends SimpleAggregatorTst {
13   
14       private Rule rule;
15   
16       public void setUp() {
17           rule = findRule("optimizations", "MethodArgumentCouldBeFinal");
18       }
19   
20       public void testAll() {
21           runTests(rule);
22       }
23   }