test_class.file: naming/impl/src/test/java/cloud/piranha/naming/impl/DefaultBindingNamingEnumerationTest.java
test_class.identifier: DefaultBindingNamingEnumerationTest
test_case.body: @Test
      void testCheckClosed() throws Exception {
          DefaultBindingNamingEnumeration enumeration = new DefaultBindingNamingEnumeration(new ArrayList<>());
          enumeration.close();
          assertThrows(NamingException.class, enumeration::close);
      }
test_case.class_method_signature: DefaultBindingNamingEnumerationTest.testCheckClosed()
test_case.full_signature: @Test void testCheckClosed()
test_case.identifier: testCheckClosed
test_case.invocations: close assertThrows
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCheckClosed()
focal_class.declarator: list
focal_class.modifier: private
focal_class.original_string: private List<Binding> list;
focal_class.type: List<Binding>
focal_class.var_name: list
focal_class.declarator: iterator
focal_class.modifier: private
focal_class.original_string: private Iterator<Binding> iterator;
focal_class.type: Iterator<Binding>
focal_class.var_name: iterator
focal_class.file: naming/impl/src/main/java/cloud/piranha/naming/impl/DefaultBindingNamingEnumeration.java
focal_class.identifier: DefaultBindingNamingEnumeration
focal_class.interfaces: implements NamingEnumeration<Binding>
focal_class.class_method_signature: DefaultBindingNamingEnumeration.DefaultBindingNamingEnumeration(List<Binding> list)
focal_class.full_signature: public  DefaultBindingNamingEnumeration(List<Binding> list)
focal_class.identifier: DefaultBindingNamingEnumeration
focal_class.modifiers: public
focal_class.parameters: (List<Binding> list)
focal_class.signature:  DefaultBindingNamingEnumeration(List<Binding> list)
focal_class.class_method_signature: DefaultBindingNamingEnumeration.next()
focal_class.full_signature: @Override public Binding next()
focal_class.identifier: next
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Binding
focal_class.signature: Binding next()
focal_class.class_method_signature: DefaultBindingNamingEnumeration.hasMore()
focal_class.full_signature: @Override public boolean hasMore()
focal_class.identifier: hasMore
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasMore()
focal_class.class_method_signature: DefaultBindingNamingEnumeration.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: DefaultBindingNamingEnumeration.hasMoreElements()
focal_class.full_signature: @Override public boolean hasMoreElements()
focal_class.identifier: hasMoreElements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasMoreElements()
focal_class.class_method_signature: DefaultBindingNamingEnumeration.nextElement()
focal_class.full_signature: @Override public Binding nextElement()
focal_class.identifier: nextElement
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Binding
focal_class.signature: Binding nextElement()
focal_class.class_method_signature: DefaultBindingNamingEnumeration.checkClosed()
focal_class.full_signature: private void checkClosed()
focal_class.identifier: checkClosed
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkClosed()
focal_method.body: private void checkClosed() throws NamingException {
          if (list == null) {
              throw new NamingException("Cannot call any method on a closed NamingEnumeration");
          }
      }
focal_method.class_method_signature: DefaultBindingNamingEnumeration.checkClosed()
focal_method.full_signature: private void checkClosed()
focal_method.identifier: checkClosed
focal_method.modifiers: private
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void checkClosed()