diff options
Diffstat (limited to 'common-app-api/src/test')
-rw-r--r-- | common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java index 467f1cf545..2d5122a13f 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java @@ -902,6 +902,11 @@ final String testArtifactDisplayName="test=notValid=Label"; } @Test + public void checkValidateArtifactLabelReturnsTrueWithAtSymbol() { + assertTrue(ValidationUtils.validateArtifactLabel("test@label")); + } + + @Test public void checkValidateConsumerNameReturnsTrueIfLabelIsValid() { final String testConsumerName = "testConsumerName"; |