@Test
public void testStatic() throws Exception {

   JdbcDataSourceDescriptorManager manager = lookup(JdbcDataSourceDescriptorManager.class);
   JdbcDataSourceDescriptor user = manager.getDescriptor("user");
   JdbcDataSourceDescriptor history = manager.getDescriptor("history");
   checkProperty(user, "user", "user");
   checkProperty(user, "url", "jdbc:mysql://localhost:3306/user?useUnicode=true&autoReconnect=true");
   checkProperty(history, "user", "history");
   checkProperty(history, "url", "jdbc:mysql://localhost:3306/history?useUnicode=true&autoReconnect=true");
   checkNames(manager, "jdbc-dal", "user", "history");
}