diff options
author | 2020-07-28 17:58:22 +0000 | |
---|---|---|
committer | 2020-07-28 17:58:22 +0000 | |
commit | 32eae2731c8ac4e7b7787ca620cf19f2b7e5ddd6 (patch) | |
tree | bebf9f80cb26bacd24eda18dfdd21d7c429bf644 /model/utilities | |
parent | 2169b3fbf66153ea7e066ba0057585822208d6f4 (diff) | |
parent | b2e2d5f8daeefb08873d11de44cb4cfe7cfab03a (diff) |
Merge "SONAR assertions apex-pdp"
Diffstat (limited to 'model/utilities')
-rw-r--r-- | model/utilities/src/test/java/org/onap/policy/apex/model/utilities/DirectoryUtilsTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/model/utilities/src/test/java/org/onap/policy/apex/model/utilities/DirectoryUtilsTest.java b/model/utilities/src/test/java/org/onap/policy/apex/model/utilities/DirectoryUtilsTest.java index 0e9c71c27..69c2d4763 100644 --- a/model/utilities/src/test/java/org/onap/policy/apex/model/utilities/DirectoryUtilsTest.java +++ b/model/utilities/src/test/java/org/onap/policy/apex/model/utilities/DirectoryUtilsTest.java @@ -21,6 +21,8 @@ package org.onap.policy.apex.model.utilities; +import static org.junit.Assert.assertNotNull; + import java.io.File; import java.io.IOException; import java.nio.file.Files; @@ -35,6 +37,7 @@ public class DirectoryUtilsTest { DirectoryUtils.emptyDirectory(new File("/i/dont/exist")); File tempDir = Files.createTempDirectory("test").toFile(); + assertNotNull(tempDir); Files.createTempDirectory(tempDir.toPath(), "testsubprefix"); |