View Javadoc
1   /**
2    * 
3    */
4   package org.melati.poem.test;
5   
6   /**
7    * @author timp
8    * @since 29 Jan 2007
9    *
10   */
11  public class GroupCapabilityTableTest extends PoemTestCase {
12  
13    public GroupCapabilityTableTest(String name) {
14      super(name);
15    }
16  
17    protected void setUp() throws Exception {
18      super.setUp();
19    }
20  
21    protected void tearDown() throws Exception {
22      super.tearDown();
23    }
24  
25    /**
26     * Test method for {@link org.melati.poem.GroupCapabilityTable#GroupCapabilityTable(org.melati.poem.Database, java.lang.String, org.melati.poem.DefinitionSource)}.
27     */
28    public void testGroupCapabilityTable() {
29  
30    }
31  
32    /**
33     * Test method for {@link org.melati.poem.GroupCapabilityTable#ensure(org.melati.poem.Group, org.melati.poem.Capability)}.
34     */
35    public void testEnsure() {
36      assertEquals("groupCapability/0", 
37              getDb().getGroupCapabilityTable().
38                ensure(getDb().getGroupTable().getGroupObject(new Integer(0)), 
39                       getDb().administerCapability()).toString());
40    }
41  
42  }