METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = com . google . common . collect . ImmutableList . of ( STRING_0 , STRING_1 , STRING_2 ) ; when ( stream . iterator ( ) ) . thenReturn ( IDENT_0 . iterator ( ) ) ; IDENT_1 = new com . google . cloud . IDENT_2 . grpc . IDENT_1 . METHOD_1 ( stream , com . google . cloud . IDENT_2 . grpc . IDENT_1 . IDENT_3 . IDENT_4 ) ; java . lang . String [ ] IDENT_5 = IDENT_1 . next ( 3 ) ; "<AssertPlaceHolder>" ; verify ( stream ) . iterator ( ) ; } next ( int ) { java . util . ArrayList < T > IDENT_6 = new java . util . ArrayList ( count ) ; for ( int i = 0 ; ( iterator . hasNext ( ) ) && ( i < count ) ; i ++ ) { T row = next ( ) ; if ( row == null ) { break ; } IDENT_6 . add ( row ) ; } return IDENT_6 . toArray ( arr ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_0 . toArray ( com . google . cloud . IDENT_2 . grpc . IDENT_1 . IDENT_3 . IDENT_4 ) , IDENT_5 )