test ( ) { javax . jms . IDENT_0 msg = org . mockito . Mockito . mock ( javax . jms . IDENT_0 . class ) ; org . mockito . Mockito . when ( msg . getText ( ) ) . thenReturn ( com . IDENT_1 . IDENT_2 . transport . jms . IDENT_3 . IDENT_4 ) ; org . mockito . Mockito . when ( session . METHOD_0 ( org . mockito . Matchers . anyString ( ) ) ) . thenReturn ( msg ) ; com . IDENT_1 . IDENT_2 . transport . api . protocol . events . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( com . IDENT_1 . IDENT_2 . transport . api . protocol . events . IDENT_5 . class ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( new com . IDENT_1 . IDENT_2 . core . api . METHOD_2 ( 1 , 0 ) ) ; javax . jms . IDENT_0 result = IDENT_7 . METHOD_3 ( IDENT_6 , new com . IDENT_1 . IDENT_2 . transport . jms . METHOD_4 ( STRING_0 , STRING_1 ) , session ) ; org . mockito . Mockito . verify ( session ) . METHOD_0 ( com . IDENT_1 . IDENT_2 . transport . jms . IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } verify ( java . lang . Exception ) { if ( e != null ) { try { org . junit . Assert . assertNull ( STRING_2 , IDENT_8 ) ; org . junit . Assert . assertEquals ( STRING_3 , com . IDENT_1 . IDENT_2 . core . impl . logging . IllegalArgumentException . class , e . getClass ( ) ) ; return ; } catch ( java . lang . IDENT_9 f ) { throw e ; } } org . junit . Assert . assertTrue ( STRING_4 , IDENT_10 . exists ( ) ) ; com . IDENT_1 . IDENT_2 . core . impl . logging . IDENT_11 reader = new com . IDENT_1 . IDENT_2 . core . impl . logging . METHOD_5 ( new com . IDENT_1 . IDENT_2 . core . impl . logging . METHOD_6 ( IDENT_10 ) ) ; for ( java . lang . Object IDENT_12 : content ) { org . junit . Assert . assertEquals ( ( STRING_5 + ( IDENT_8 ) ) , IDENT_12 , reader . METHOD_7 ( ) ) ; } org . junit . Assert . assertNull ( ( STRING_6 + ( IDENT_8 ) ) , reader . METHOD_7 ( ) ) ; }
org . junit . Assert . assertEquals ( com . IDENT_1 . IDENT_2 . transport . jms . IDENT_3 . IDENT_4 , result . getText ( ) )