Exemplo n.º 1
0
        public void TestConstructor2()
        {
            AtomicReference <Integer> ai = new AtomicReference <Integer>();

            assertNull(ai.Value);
        }
Exemplo n.º 2
0
        public void TestConstructor()
        {
            AtomicReference <Integer> ai = new AtomicReference <Integer>(one);

            assertEquals(one, (Integer)ai);
        }