test_class.file: socket.io-server/src/test/java/io/socket/socketio/server/SocketIoNamespaceImplTest.java
test_class.identifier: SocketIoNamespaceImplTest
test_case.body: @SuppressWarnings("ResultOfMethodCallIgnored")
      @Test
      public void test_constructor_new_instance() {
          final SocketIoServer server = Mockito.spy(new SocketIoServer(new EngineIoServer()));
  
          final SocketIoNamespaceImpl namespace = new SocketIoNamespaceImpl(server, "/_foo");
  
          Mockito.verify(server, Mockito.times(1)).getAdapterFactory();
          assertEquals("/_foo", namespace.getName());
          assertEquals(server, namespace.getServer());
          assertNotNull(namespace.getAdapter());
          assertEquals(0, namespace.getConnectedSockets().size());
      }
test_case.class_method_signature: SocketIoNamespaceImplTest.test_constructor_new_instance()
test_case.full_signature: @SuppressWarnings("ResultOfMethodCallIgnored") @Test public void test_constructor_new_instance()
test_case.identifier: test_constructor_new_instance
test_case.invocations: spy getAdapterFactory verify times assertEquals getName assertEquals getServer assertNotNull getAdapter assertEquals size getConnectedSockets
test_case.modifiers: @SuppressWarnings("ResultOfMethodCallIgnored") @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_constructor_new_instance()
focal_class.declarator: mSockets = new ConcurrentHashMap<>()
focal_class.modifier: @SuppressWarnings("MismatchedQueryAndUpdateOfCollection")
      private final
focal_class.original_string: @SuppressWarnings("MismatchedQueryAndUpdateOfCollection")
      private final Map<String, SocketIoSocket> mSockets = new ConcurrentHashMap<>();
focal_class.type: Map<String, SocketIoSocket>
focal_class.var_name: mSockets
focal_class.declarator: mConnectedSockets = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, SocketIoSocket> mConnectedSockets = new ConcurrentHashMap<>();
focal_class.type: Map<String, SocketIoSocket>
focal_class.var_name: mConnectedSockets
focal_class.declarator: mAckId = new AtomicInteger(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger mAckId = new AtomicInteger(0);
focal_class.type: AtomicInteger
focal_class.var_name: mAckId
focal_class.file: socket.io-server/src/main/java/io/socket/socketio/server/SocketIoNamespaceImpl.java
focal_class.identifier: SocketIoNamespaceImpl
focal_class.class_method_signature: SocketIoNamespaceImpl.SocketIoNamespaceImpl(SocketIoServer server, String name)
focal_class.full_signature:   SocketIoNamespaceImpl(SocketIoServer server, String name)
focal_class.identifier: SocketIoNamespaceImpl
focal_class.parameters: (SocketIoServer server, String name)
focal_class.signature:  SocketIoNamespaceImpl(SocketIoServer server, String name)
focal_class.class_method_signature: SocketIoNamespaceImpl.broadcast(String[] rooms, String event, Object[] args)
focal_class.full_signature: @Override public void broadcast(String[] rooms, String event, Object[] args)
focal_class.identifier: broadcast
focal_class.modifiers: @Override public
focal_class.parameters: (String[] rooms, String event, Object[] args)
focal_class.return: void
focal_class.signature: void broadcast(String[] rooms, String event, Object[] args)
focal_class.class_method_signature: SocketIoNamespaceImpl.getConnectedSockets()
focal_class.full_signature: @Override Map<String, SocketIoSocket> getConnectedSockets()
focal_class.identifier: getConnectedSockets
focal_class.modifiers: @Override
focal_class.parameters: ()
focal_class.return: Map<String, SocketIoSocket>
focal_class.signature: Map<String, SocketIoSocket> getConnectedSockets()
focal_class.class_method_signature: SocketIoNamespaceImpl.nextId()
focal_class.full_signature:  int nextId()
focal_class.identifier: nextId
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int nextId()
focal_class.class_method_signature: SocketIoNamespaceImpl.add(SocketIoClient client)
focal_class.full_signature: synchronized SocketIoSocket add(SocketIoClient client)
focal_class.identifier: add
focal_class.modifiers: synchronized
focal_class.parameters: (SocketIoClient client)
focal_class.return: SocketIoSocket
focal_class.signature: SocketIoSocket add(SocketIoClient client)
focal_class.class_method_signature: SocketIoNamespaceImpl.remove(SocketIoSocket socket)
focal_class.full_signature: synchronized void remove(SocketIoSocket socket)
focal_class.identifier: remove
focal_class.modifiers: synchronized
focal_class.parameters: (SocketIoSocket socket)
focal_class.return: void
focal_class.signature: void remove(SocketIoSocket socket)
focal_class.class_method_signature: SocketIoNamespaceImpl.addConnected(SocketIoSocket socket)
focal_class.full_signature: synchronized void addConnected(SocketIoSocket socket)
focal_class.identifier: addConnected
focal_class.modifiers: synchronized
focal_class.parameters: (SocketIoSocket socket)
focal_class.return: void
focal_class.signature: void addConnected(SocketIoSocket socket)
focal_class.class_method_signature: SocketIoNamespaceImpl.removeConnected(SocketIoSocket socket)
focal_class.full_signature: synchronized void removeConnected(SocketIoSocket socket)
focal_class.identifier: removeConnected
focal_class.modifiers: synchronized
focal_class.parameters: (SocketIoSocket socket)
focal_class.return: void
focal_class.signature: void removeConnected(SocketIoSocket socket)
focal_class.superclass: extends SocketIoNamespace
focal_method.body: @Override
      Map<String, SocketIoSocket> getConnectedSockets() {
          return mConnectedSockets;
      }
focal_method.class_method_signature: SocketIoNamespaceImpl.getConnectedSockets()
focal_method.full_signature: @Override Map<String, SocketIoSocket> getConnectedSockets()
focal_method.identifier: getConnectedSockets
focal_method.modifiers: @Override
focal_method.parameters: ()
focal_method.return: Map<String, SocketIoSocket>
focal_method.signature: Map<String, SocketIoSocket> getConnectedSockets()