Update MutableObjectExamplesUnitTest.java

This commit is contained in:
Imran Alam 2024-02-05 14:25:15 +05:30 committed by GitHub
parent 48690d61be
commit ac3959d261
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class MutableObjectExamplesUnitTest {
@Test
public void givenMutableString_whenModify_thenCorrectValue() {
public void givenMutableString_whenAppendElement_thenCorrectValue() {
StringBuilder mutableString = new StringBuilder("Hello");
mutableString.append(" World");