1   package com.macvu.tiles.xmlDefinition;
2   
3   
4   
5   import junit.framework.TestCase;
6   
7   
8   
9   /***
10  
11   * Created by IntelliJ IDEA.
12  
13   * User: MVu
14  
15   * Date: Mar 23, 2004
16  
17   * Time: 2:58:29 PM
18  
19   * To change this template use File | Settings | File Templates.
20  
21   */
22  
23  public class XmlCacheAttributeTest extends TestCase {
24  
25      public XmlCacheAttributeTest(String s) {
26  
27          super(s);
28  
29      }
30  
31  
32  
33      public void setUp() throws Exception {
34  
35  
36  
37      }
38  
39  
40  
41      public void testXmlCacheAttribute() {
42  
43          XmlCacheAttribute cacheAtt = new XmlCacheAttribute();
44  
45          cacheAtt.setName("foo");
46  
47          cacheAtt.setScope("request");
48  
49  
50  
51          assertEquals("Name should be foo", "foo", cacheAtt.getName());
52  
53          assertEquals("Scope should be request", "request", cacheAtt.getScope());
54  
55      }
56  
57  }
58