METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_3 > IDENT_4 = METHOD_1 ( ) . METHOD_2 ( 100 ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; IDENT_6 . addAll ( IDENT_4 ) ; METHOD_3 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { final java . util . List < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_3 > expected = com . IDENT_0 . IDENT_7 . remote . IDENT_8 . IDENT_9 . METHOD_5 ( ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; METHOD_3 ( expected ) ; when ( IDENT_8 . METHOD_4 ( ) ) . METHOD_6 ( ( IDENT_10 ) -> expected . stream ( ) ) ; final java . util . List < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_3 > result = client . METHOD_4 ( ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; org . junit . Assert . assertEquals ( expected , result ) ; verify ( IDENT_8 , times ( 1 ) ) . METHOD_4 ( ) ; METHOD_7 ( IDENT_8 ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_6 . METHOD_4 ( ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) )