diff options
Diffstat (limited to 'model/utilities/src')
-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"); |