METHOD_0 ( ) { org . apache . IDENT_0 . jms . provider . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . jms . provider . IDENT_1 . class ) ; org . apache . IDENT_0 . jms . provider . IDENT_3 < org . apache . IDENT_0 . jms . provider . IDENT_1 > IDENT_4 = new org . apache . IDENT_0 . jms . provider . IDENT_3 < org . apache . IDENT_0 . jms . provider . IDENT_1 > ( IDENT_2 ) ; try { IDENT_4 . start ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . lang . IllegalStateException IDENT_5 ) { } org . apache . IDENT_0 . jms . provider . IDENT_6 listener = org . mockito . Mockito . mock ( org . apache . IDENT_0 . jms . provider . IDENT_6 . class ) ; IDENT_4 . METHOD_1 ( listener ) ; IDENT_4 . start ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_2 ) . start ( ) ; } METHOD_2 ( ) { return listener ; }
org . junit . Assert . assertSame ( listener , IDENT_4 . METHOD_2 ( ) )