METHOD_0 ( ) { java . lang . Object IDENT_0 = new java . lang . Object ( ) ; java . util . List < org . apache . flink . streaming . runtime . IDENT_1 . IDENT_2 > list = new java . util . ArrayList ( ) ; org . apache . flink . streaming . api . IDENT_3 . IDENT_4 < org . apache . flink . streaming . runtime . IDENT_1 . IDENT_5 < java . lang . Integer > > output = new org . apache . flink . streaming . util . METHOD_1 ( list ) ; java . util . List < org . apache . flink . streaming . runtime . IDENT_1 . IDENT_2 > expected = java . util . Arrays . asList ( new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 1 , 0L ) , new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 2 , 0L ) , new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 3 , 1L ) , new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 4 , 1L ) , new org . apache . flink . streaming . api . IDENT_6 . METHOD_3 ( INT_0 ) , new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 5 , INT_1 ) , new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 6 , INT_1 ) ) ; org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . IDENT_8 . class ) ; final int IDENT_10 = 5 ; org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . IDENT_11 queue = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_4 ( IDENT_10 , org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . IDENT_12 . executor , IDENT_9 ) ; final org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . IDENT_13 < java . lang . Integer > IDENT_14 = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . METHOD_5 ( IDENT_0 , output , queue , IDENT_9 ) ; final java . lang . Thread IDENT_15 = new java . lang . Thread ( IDENT_14 ) ; IDENT_15 . start ( ) ; try { org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . IDENT_16 < java . lang . Integer > IDENT_17 = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_6 ( new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 1 , 0L ) ) ; org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_6 < java . lang . Integer > IDENT_18 = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_6 ( new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 2 , 1L ) ) ; org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . IDENT_19 IDENT_20 = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_7 ( new org . apache . flink . streaming . api . IDENT_6 . METHOD_3 ( INT_0 ) ) ; org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_6 < java . lang . Integer > IDENT_21 = new org . apache . flink . streaming . api . IDENT_3 . IDENT_7 . queue . METHOD_6 ( new org . apache . flink . streaming . runtime . IDENT_1 . METHOD_2 ( 3 , INT_1 ) ) ; queue . put ( IDENT_17 ) ; queue . put ( IDENT_18 ) ; queue . put ( IDENT_20 ) ; queue . put ( IDENT_21 ) ; IDENT_18 . METHOD_8 ( java . util . Arrays . asList ( 3 , 4 ) ) ; IDENT_17 . METHOD_8 ( java . util . Arrays . asList ( 1 , 2 ) ) ; IDENT_21 . METHOD_8 ( java . util . Arrays . asList ( 5 , 6 ) ) ; MOD_0 ( IDENT_0 ) { while ( ! ( queue . isEmpty ( ) ) ) { IDENT_0 . METHOD_9 ( ) ; } } "<AssertPlaceHolder>" ; } finally { IDENT_14 . METHOD_10 ( ) ; IDENT_15 . METHOD_11 ( ) ; } } isEmpty ( ) { return queue . isEmpty ( ) ; }
org . junit . Assert . assertEquals ( expected , list )