*/
package org.opendaylight.yangtools.util;
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
-import org.junit.Test;
-
-public class PropertyUtilsTest {
+import org.junit.jupiter.api.Test;
+class PropertyUtilsTest {
@Test
- public void testGetIntSystemProperty() {
- final int testValue = PropertyUtils.getIntSystemProperty("file.separator", 1);
- assertEquals("Property value should be '1'.", 1, testValue);
+ void testGetIntSystemProperty() {
+ final var testValue = PropertyUtils.getIntSystemProperty("file.separator", 1);
+ assertEquals(1, testValue, "Property value should be '1'.");
}
}