Update ImmutableObjectExamplesUnitTest.java

This commit is contained in:
Imran Alam 2024-02-05 14:23:23 +05:30 committed by GitHub
parent 34a8c4166c
commit b07426336f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ public class ImmutableObjectExamplesUnitTest {
} }
@Test @Test
public void givenImmutableInteger_whenAddWord_thenNotSameAndCorrectValue() { public void givenImmutableInteger_whenAddInteger_thenNotSameAndCorrectValue() {
Integer immutableInt = 42; Integer immutableInt = 42;
Integer modifiedInt = immutableInt + 8; Integer modifiedInt = immutableInt + 8;