View Javadoc

1   package org.kuali.ole.docstore;
2   
3   import org.junit.Test;
4   
5   /**
6    * Created by IntelliJ IDEA.
7    * User: SM8451
8    * Date: 12/15/12
9    * Time: 2:38 PM
10   * To change this template use File | Settings | File Templates.
11   */
12  public class DocStoreConstants_UT {
13  
14      @Test
15      public void testConstants(){
16          DocStoreConstants docStoreConstants = new DocStoreConstants();
17          try{
18               boolean isVersioningEnabled = DocStoreConstants.isVersioningEnabled;
19              throw new OleException("To use in test cases");
20          }catch (OleException e){
21              e.getMessage();
22          }
23  
24          try {
25              boolean isVersioningEnabled = DocStoreConstants.isVersioningEnabled;
26              throw new OleException();
27          }
28          catch (OleException e) {
29              e.getMessage();
30          }
31  
32  
33      }
34  }