Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java

Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
Hangga Aji Sayekti 2024-02-15 05:11:49 +07:00 committed by GitHub
parent 13209f657c
commit 61ed752a1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import static org.assertj.core.api.Assertions.assertThat;
public class UUIDPositiveLongGeneratorUnitTest {
@Test
public void whengetMostSignificantBits_thenAssertPositive() {
public void whenGetMostSignificantBits_thenAssertPositive() {
long randomPositiveLong = Math.abs(UUID.randomUUID().getMostSignificantBits());
assertThat(randomPositiveLong).isPositive();
}