METHOD_0 ( ) { org . apache . flink . runtime . IDENT_0 . IDENT_1 IDENT_2 = null ; org . apache . flink . runtime . IDENT_0 . IDENT_1 IDENT_3 = null ; try { IDENT_2 = METHOD_1 ( STRING_0 ) ; IDENT_3 = METHOD_1 ( STRING_0 ) ; org . apache . flink . runtime . IDENT_0 . IDENT_4 IDENT_5 = METHOD_2 ( new org . apache . flink . api . common . METHOD_3 ( ) ) ; org . apache . flink . runtime . IDENT_0 . IDENT_4 IDENT_6 = METHOD_2 ( new org . apache . flink . api . common . METHOD_3 ( ) ) ; org . apache . flink . runtime . IDENT_0 . IDENT_7 . IDENT_8 listener = mock ( org . apache . flink . runtime . IDENT_0 . IDENT_7 . IDENT_8 . class ) ; final org . apache . flink . api . common . METHOD_3 [ ] IDENT_9 = new org . apache . flink . api . common . METHOD_3 [ 1 ] ; final java . util . concurrent . IDENT_10 sync = new java . util . concurrent . METHOD_4 ( 1 ) ; METHOD_5 ( new org . mockito . IDENT_11 . IDENT_12 < java . lang . IDENT_13 > ( ) { @ org . apache . flink . runtime . IDENT_0 . Override public org . apache . flink . runtime . IDENT_0 . IDENT_13 METHOD_6 ( org . mockito . IDENT_14 . IDENT_15 IDENT_14 ) throws java . lang . Throwable { IDENT_9 [ 0 ] = ( ( org . apache . flink . api . common . METHOD_3 ) ( IDENT_14 . METHOD_7 ( ) [ 0 ] ) ) ; sync . METHOD_8 ( ) ; return null ; } } ) . when ( listener ) . METHOD_9 ( any ( org . apache . flink . api . common . METHOD_3 . class ) ) ; IDENT_2 . start ( listener ) ; IDENT_3 . start ( null ) ; IDENT_2 . METHOD_10 ( IDENT_5 ) ; verify ( listener , METHOD_11 ( ) ) . METHOD_9 ( any ( org . apache . flink . api . common . METHOD_3 . class ) ) ; verify ( listener , METHOD_11 ( ) ) . METHOD_12 ( any ( org . apache . flink . api . common . METHOD_3 . class ) ) ; IDENT_3 . METHOD_10 ( IDENT_6 ) ; sync . METHOD_13 ( ) ; verify ( listener , times ( 1 ) ) . METHOD_9 ( any ( org . apache . flink . api . common . METHOD_3 . class ) ) ; verify ( listener , METHOD_11 ( ) ) . METHOD_12 ( any ( org . apache . flink . api . common . METHOD_3 . class ) ) ; "<AssertPlaceHolder>" ; } finally { if ( IDENT_2 != null ) { IDENT_2 . METHOD_14 ( ) ; } if ( IDENT_3 != null ) { IDENT_3 . METHOD_14 ( ) ; } } } METHOD_15 ( ) { return IDENT_16 ; }
org . junit . Assert . assertEquals ( IDENT_6 . METHOD_15 ( ) , IDENT_9 [ 0 ] )