# | Line 194 | Line 194 | public class AtomicIntegerTest extends J | |
---|---|---|
194 | public void testSerialization() throws Exception { | |
195 | AtomicInteger x = new AtomicInteger(); | |
196 | AtomicInteger y = serialClone(x); | |
197 | < | assertTrue(x != y); |
197 | > | assertNotSame(x, y); |
198 | x.set(22); | |
199 | AtomicInteger z = serialClone(x); | |
200 | assertEquals(22, x.get()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |