diff options
Diffstat (limited to 'models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java')
-rw-r--r-- | models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java index 8afb5aead..d74ce03e5 100644 --- a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java +++ b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaParticipantSupportedElementTypeTest.java @@ -21,9 +21,9 @@ package org.onap.policy.clamp.models.acm.persistence.concepts; import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; import java.util.UUID; import org.junit.jupiter.api.Test; @@ -74,9 +74,9 @@ class JpaParticipantSupportedElementTypeTest { new JpaParticipantSupportedElementType("key", "key", "name", null); }).hasMessageMatching("typeVersion" + NULL_ERROR); - assertNotNull(new JpaParticipantSupportedElementType()); - assertNotNull(new JpaParticipantSupportedElementType("key", "key")); - assertNotNull(new JpaParticipantSupportedElementType("key", "key", "name", + assertDoesNotThrow(() -> new JpaParticipantSupportedElementType()); + assertDoesNotThrow(() -> new JpaParticipantSupportedElementType("key", "key")); + assertDoesNotThrow(() -> new JpaParticipantSupportedElementType("key", "key", "name", "1.0.0")); } |