1   /*
2    * TableModelRegistryTest.java
3    * Created on 3 Январь 2006 г., 16:11
4    */
5   
6   package org.weda.model;
7   
8   import org.weda.test.WedaTestCase;
9   
10  /**
11   *
12   * @author Mikhail Titov
13   */
14  public class TableModelRegistryTest extends WedaTestCase {
15      
16      /** Creates a new instance of TableModelRegistryTest */
17      public TableModelRegistryTest(String name) throws Exception {
18          super(name);
19      }
20      
21      public void test() throws Exception {
22          TableModelRegistry reg = 
23              (TableModelRegistry)registry.getService(TableModelRegistry.class);
24          TableModel model = reg.getTableModel("company2-view");
25          assertNotNull(model);
26      }
27      
28  }