View Javadoc
1   package org.kuali.ole.deliver.controller.checkout;
2   
3   import org.junit.Test;
4   
5   import static org.junit.Assert.*;
6   
7   /**
8    * Created by sheiksalahudeenm on 8/24/15.
9    */
10  public class CircUtilControllerTest {
11  
12      @Test
13      public void testInValidateTime() throws Exception {
14          boolean validateTime = new CircUtilController().validateTime("a:b");
15          assertFalse(validateTime);
16      }
17  
18      @Test
19      public void testValidateTime() throws Exception {
20          boolean validateTime = new CircUtilController().validateTime("11:20");
21          assertTrue(validateTime);
22      }
23  }