void function ( ) { listeners . add ( new TestListener ( ) ) ; listeners . dispatch ( new TestEvent ( "srini_string" ) ) ; assertEquals ( "srini_string" , event . getName ( ) ) ; }
test of add method , of class listeners . concode_field_sep String name concode_elem_sep TestEvent event concode_elem_sep Listeners<TestListener> listeners concode_field_sep void setUpClass concode_elem_sep void process concode_elem_sep String getName concode_elem_sep void testRemove concode_elem_sep TestEvent getSource concode_elem_sep void setUp concode_elem_sep void tearDownClass concode_elem_sep void testConcurrentRemove concode_elem_sep void tearDown