From 9002959a19ef7e6aee950d9c83ab1392a62afb26 Mon Sep 17 00:00:00 2001 From: Hangga Aji Sayekti Date: Tue, 23 Jan 2024 05:29:52 +0700 Subject: [PATCH] Update core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java rename Co-authored-by: Liam Williams --- .../SecureRandomPositiveLongUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java b/core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java index eea41861bb..6203e796b3 100644 --- a/core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java +++ b/core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java @@ -9,7 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat; public class SecureRandomPositiveLongUnitTest { @Test - void whenGenerateRecureRandom_thenGetExpectedValue() { + void whenGenerateRandomPositiveLong_thenGetPositiveValue() { SecureRandom secureRandom = new SecureRandom(); long randomPositiveLong = Math.abs(secureRandom.nextLong());