Update ImmutableObjectExamplesUnitTest.java
This commit is contained in:
parent
34a8c4166c
commit
b07426336f
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user