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
1 changed files with 1 additions and 1 deletions

View File

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