Update MutableObjectExamplesUnitTest.java
This commit is contained in:
parent
48690d61be
commit
ac3959d261
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user