void function ( ) { sync = new DefaultNodeSynchronization ( store1 ) ; sync . addSocket ( websocket1 ) ; assertEquals ( websocket1 , store1 . get ( KEY_1 ) ) ; assertNull ( store1 . get ( KEY_2 ) ) ; sync . removeSocket ( websocket2 ) ; assertEquals ( websocket1 , store1 . get ( KEY_1 ) ) ; assertNull ( store1 . get ( KEY_2 ) ) ; }
test method for org.apache.camel.component.websocket.nodesynchronization #removesocket org.apache.camel.component.websocket.defaultwebsocket . concode_field_sep String KEY_1 concode_elem_sep MemoryWebsocketStore store1 concode_elem_sep String KEY_2 concode_elem_sep DefaultWebsocket websocket1 concode_elem_sep DefaultWebsocket websocket2 concode_elem_sep String KEY_3 concode_elem_sep NodeSynchronization sync concode_elem_sep WebsocketConsumer consumer concode_field_sep void testRemoveString concode_elem_sep void testRemoveStringNotExisting concode_elem_sep void testRemoveDefaultWebsocket concode_elem_sep void testAddSocketMemoryAndGlobal concode_elem_sep void testRemoveDefaultWebsocketKeyNotSet concode_elem_sep void setUp concode_elem_sep void testAddSocketMemoryOnly concode_elem_sep void testAddNullValue