diff options
author | 2017-10-01 21:36:35 -0400 | |
---|---|---|
committer | 2017-10-01 22:26:36 -0400 | |
commit | fd8f9858fe2c7dfdee55a1e136a63fb01d1a3162 (patch) | |
tree | a94e58e1bac32562d0cb30f65663563a5d783d13 /src/test/java/com/att/nsa/cambria/beans | |
parent | 2881443ed939d6d3c1a55719cca95ee9e7483165 (diff) |
commiting code for test coveragev1.0.01.0.0-ONAP1.0.0-Amsterdam
changed testcases
DMAAP-149
Signed-off-by: rn509j <rn509j@att.com>
Change-Id: I4dfeb3df44f85bfbd3a10ec1659c8618e31a10fb
Diffstat (limited to 'src/test/java/com/att/nsa/cambria/beans')
-rw-r--r-- | src/test/java/com/att/nsa/cambria/beans/DMaaPContextTest4.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/com/att/nsa/cambria/beans/DMaaPContextTest4.java b/src/test/java/com/att/nsa/cambria/beans/DMaaPContextTest4.java index 231a9b2..2843d9c 100644 --- a/src/test/java/com/att/nsa/cambria/beans/DMaaPContextTest4.java +++ b/src/test/java/com/att/nsa/cambria/beans/DMaaPContextTest4.java @@ -27,6 +27,7 @@ import javax.servlet.http.HttpServletRequest; import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+import org.springframework.mock.web.MockHttpServletRequest;
public class DMaaPContextTest4 {
@@ -42,6 +43,8 @@ public class DMaaPContextTest4 { public void testGetSession() {
DMaaPContext context = new DMaaPContext();
+ MockHttpServletRequest request = new MockHttpServletRequest();
+ context.setRequest(request);
context.getSession();
|