File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
ipp-v3-java-devkit/src/test/java/com/intuit/ipp/interceptors Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,18 @@ public void testCheckTouchlessExecution() throws FMSException {
3636 message .getResponseElements ().setResponse (response );
3737 instance .execute (message );
3838 Assert .assertEquals (message .getResponseElements ().getResponse (), null );
39+ }
40+
41+ @ Test
42+ public void testCheckEntitlementsExecution () throws FMSException {
43+
44+ message .getResponseElements ().setContentTypeHeader ("application/json" );
45+ IntuitResponse response = new IntuitResponse ();
46+ response .setStatus ("example" );
47+ message .setEntitlementService (true );
48+ message .getResponseElements ().setResponse (response );
49+ instance .execute (message );
50+ Assert .assertEquals (message .getResponseElements ().getResponse ().getClass (), IntuitResponse .class );
3951
4052 }
4153
You can’t perform that action at this time.
0 commit comments