METHOD_0 ( ) { java . util . List < java . lang . String > expected = java . util . Arrays . asList ( "a" , "b" , STRING_0 ) ; java . io . IDENT_0 IDENT_1 = new java . io . METHOD_1 ( ) ; java . io . IDENT_2 is = new java . io . METHOD_2 ( IDENT_1 ) ; org . IDENT_3 . core . IDENT_4 reader = process ( is , STRING_1 , expected ) ; TimeUnit . IDENT_5 . sleep ( 2 ) ; IDENT_1 . write ( STRING_2 . getBytes ( ) ) ; METHOD_3 ( expected . size ( ) ) ; "<AssertPlaceHolder>" ; reader . close ( ) ; } METHOD_3 ( int ) { while ( ( IDENT_6 . size ( ) ) != size ) { org . IDENT_3 . core . IDENT_7 . sleep ( 100 ) ; } }
org . junit . Assert . assertThat ( IDENT_6 , org . hamcrest . CoreMatchers . is ( expected ) )