View Javadoc
1   package org.kuali.ole.deliver.controller.drools;
2   
3   import org.junit.Before;
4   import org.junit.Test;
5   import org.kuali.rice.krad.web.form.MaintenanceDocumentForm;
6   import org.mockito.Mock;
7   import org.mockito.MockitoAnnotations;
8   
9   /**
10   * Created by pvsubrah on 7/8/15.
11   */
12  public class DroolsEditorControllerTest {
13  
14      @Mock
15      MaintenanceDocumentForm mockForm;
16  
17      @Before
18      public void setUp() throws Exception {
19          MockitoAnnotations.initMocks(this);
20      }
21  
22      @Test
23      public void testRoute() throws Exception {
24  
25          DroolsEditorController droolsEditorController = new DroolsEditorController();
26  
27          droolsEditorController.route(mockForm, null, null, null);
28  
29  
30  
31      }
32  }