<s>[INST] the setup of testcase is : send message + - > ejb3 mdb @runas - > ejb3 slsb - > ejb2 slsb & & ejb2 slsb concode_field_sep InitialContext initialContext concode_elem_sep String PRINCIPAL concode_field_sep Archive<?> runAsEJB2 concode_elem_sep Archive<?> runAsEJB3 concode_elem_sep void clientCall concode_elem_sep void setup concode_elem_sep void tearDown [/INST] void function ( ) { ConnectionFactory loc0 = ( ConnectionFactory ) initialContext . lookup ( "srini_string" ) ; String loc1 = HelloBean . sendMessage ( loc0 ) ; Assert . assertEquals ( String . format ( "srini_string" , HowdyBean . SAYING , PRINCIPAL , HolaBean . SAYING , PRINCIPAL , GoodByeBean . SAYING ) , loc1 ) ; </s>