Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6
-
None
-
None
-
Mac OS
Description
MetaClassRegistryImpl.java - Line 397 (iterator() $ Iterator.hasNext()): currentMeta= refs[index];
import static org.junit.Assert.assertFalse; import groovy.lang.MetaClassRegistry; import org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl; import org.junit.Test; public class MetaClassRegistryImplTest { @Test public void testIteratorHasNext() { MetaClassRegistry registry = new MetaClassRegistryImpl(); assertFalse(registry.iterator().hasNext()); } }