METHOD_0 ( ) { org . mockito . Mockito . when ( manager . METHOD_1 ( ) ) . thenReturn ( server ) ; org . mockito . Mockito . when ( server . METHOD_2 ( ) ) . thenReturn ( IDENT_0 ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_3 ( any ( org . apache . activemq . artemis . api . core . IDENT_1 . class ) ) ) . thenReturn ( IDENT_2 ) ; org . mockito . IDENT_3 < java . lang . IDENT_4 > IDENT_5 = org . mockito . IDENT_3 . METHOD_4 ( org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_7 . IDENT_4 . class ) ; org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_7 . IDENT_8 session = new org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_7 . METHOD_5 ( IDENT_9 , manager , connection , IDENT_10 , executor , IDENT_11 ) ; org . mockito . Mockito . when ( IDENT_12 . METHOD_6 ( ) ) . thenReturn ( org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_7 . IDENT_13 ) ; session . flow ( new org . apache . activemq . artemis . api . core . METHOD_7 ( "test" ) , org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_14 . IDENT_15 . METHOD_8 ( 1 , org . apache . activemq . artemis . protocol . IDENT_6 . IDENT_7 . IDENT_13 , IDENT_12 , connection ) ) ; org . mockito . Mockito . verify ( IDENT_2 ) . METHOD_9 ( IDENT_5 . METHOD_10 ( ) ) ; "<AssertPlaceHolder>" ; IDENT_5 . getValue ( ) . run ( ) ; org . mockito . Mockito . verify ( IDENT_12 , METHOD_11 ( ) ) . METHOD_12 ( ) ; org . mockito . Mockito . verify ( IDENT_12 , METHOD_11 ( ) ) . flow ( METHOD_13 ( ) ) ; } getValue ( ) { return value ; }
org . junit . Assert . assertNotNull ( IDENT_5 . getValue ( ) )