1
2
3
4
5
6
7
8
9
10 package com.sri.emo.wizard.completion.management;
11
12 import junit.framework.TestCase;
13
14 import com.jcorporate.expresso.core.controller.ExpressoResponse;
15
16 /***
17 * Tests the choose criteria
18 * @author Michael Rimov
19 * @version 1.0
20 * @todo Incomplete test.
21 */
22 public class TestPromptChooseCriteria extends TestCase {
23 final int starwarsId = 4;
24
25 private NewCompletionFixtureTemplate completionTemplate;
26
27 protected void setUp() throws Exception {
28 super.setUp();
29 completionTemplate = new NewCompletionFixtureTemplate(PromptChooseCriteria.STATE_NAME, starwarsId);
30 }
31
32 protected void tearDown() throws Exception {
33 super.tearDown();
34 }
35
36 public void testHandleRequest() throws Exception {
37 ExpressoResponse response = completionTemplate.invokeController();
38 assertNotNull(response);
39 }
40
41 }