diff options
Diffstat (limited to 'framework/src/test')
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java b/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java index cc12cfc0..f50fe567 100644 --- a/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java +++ b/framework/src/test/java/org/onap/cli/fw/error/OnapCommandErrorTest.java @@ -303,4 +303,11 @@ public class OnapCommandErrorTest { assertEquals("0xc001::Failed to load profile details, error", failed.getMessage()); } + + @Test + public void onapCommandTypeInvalidTest() { + OnapCommandInvalidCommandType failed = new OnapCommandInvalidCommandType("test"); + + assertEquals("0x3003::Command type test is invalid", failed.getMessage()); + } } |