@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());
}