1   package com.sri.emo.test;
2   
3   import com.jcorporate.expresso.core.controller.Transition;
4   import com.jcorporate.expresso.core.db.DBException;
5   import com.sri.emo.dbobj.model_tree.ModelVisitable;
6   import com.sri.emo.dbobj.model_tree.ModelVisitor;
7   
8   /***
9    *
10   * @author Michael Rimov
11   *
12   */
13  public class MockIViewable implements ModelVisitable {
14  
15      public static final Transition NULL_TRANSITION = new Transition();
16  
17      public MockIViewable() {
18      }
19  
20      public void acceptVisitor(ModelVisitor visitor) {
21          //Visitor is not called in this particular mock object.
22      }
23  
24      public Transition getViewTrans() throws DBException {
25          return NULL_TRANSITION;
26      }
27  }