1   package com.macvu.tiles;
2   
3   import junit.framework.TestCase;
4   
5   /***
6    * Created by IntelliJ IDEA.
7    * User: MVu
8    * Date: Mar 10, 2004
9    * Time: 3:30:54 PM
10   * To change this template use Options | File Templates.
11   */
12  public class CacheAttributeTest extends TestCase {
13      public CacheAttributeTest(String s) {
14          super(s);
15      }
16  
17      public void setUp() throws Exception {
18          super.setUp();
19      }
20  
21      public void testCacheAttribute() {
22          String name = "name";
23          String scope = "request";
24          CacheAttribute cacheAtt = new CacheAttribute();
25  
26          cacheAtt.setName(name);
27          cacheAtt.setScope(scope);
28  
29          assertEquals("Name should equal", name, cacheAtt.getName());
30          assertEquals("Scope should equal", scope, cacheAtt.getScope());
31      }
32  }