From 47a92f98791e61f895c759f7e4800e16f956f766 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sat, 11 Feb 2023 10:31:21 -0500 Subject: Refactor system property access into a new SystemProperties class --- src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java') diff --git a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java index 0e9c99c65..46b282995 100644 --- a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java +++ b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java @@ -223,7 +223,7 @@ public class SystemPropertiesTest { @Test public void testGetUserCountry() { - assertNotNull(SystemProperties.getUserCountry()); + assertDoesNotThrow(SystemProperties::getUserCountry); } @Test -- cgit v1.2.3