METHOD_0 ( ) { java . util . Map < java . lang . Integer , org . eclipse . collections . api . list . IDENT_0 < org . eclipse . collections . api . list . IDENT_0 < java . lang . Integer > > > expected = org . eclipse . collections . impl . list . IDENT_1 . METHOD_1 ( 100 ) . stream ( ) . collect ( java . util . stream . IDENT_2 . METHOD_2 ( ( IDENT_3 ) -> IDENT_3 OP_0 2 , org . eclipse . collections . impl . IDENT_4 . IDENT_5 . METHOD_3 ( 10 ) ) ) ; java . util . Map < java . lang . Integer , org . eclipse . collections . api . list . IDENT_0 < org . eclipse . collections . api . list . IDENT_0 < java . lang . Integer > > > actual = org . eclipse . collections . impl . list . IDENT_1 . METHOD_1 ( 100 ) . METHOD_4 ( java . util . stream . IDENT_2 . METHOD_2 ( ( IDENT_3 ) -> IDENT_3 OP_0 2 , org . eclipse . collections . impl . IDENT_4 . IDENT_5 . METHOD_3 ( 10 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( int ) { if ( size <= 0 ) { throw new java . lang . IllegalArgumentException ( ( STRING_0 + size ) ) ; } return java . util . stream . IDENT_6 . of ( org . eclipse . collections . impl . factory . Lists . mutable :: empty , ( org . eclipse . collections . api . list . IDENT_0 < org . eclipse . collections . api . list . IDENT_0 < T > > IDENT_7 , T IDENT_3 ) -> { IDENT_0 < org . eclipse . collections . impl . IDENT_4 . T > batch = IDENT_7 . METHOD_5 ( ) ; if ( ( batch == null ) || ( ( batch . size ( ) ) == size ) ) { batch = Lists . mutable . empty ( ) ; IDENT_7 . add ( batch ) ; } batch . add ( IDENT_3 ) ; } , IDENT_0 :: IDENT_8 , org . eclipse . collections . impl . IDENT_4 . IDENT_5 . IDENT_9 ) ; }
org . junit . Assert . assertEquals ( expected , actual )