METHOD_0 ( ) { final java . util . Map < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_3 , java . lang . Double > expect = new java . util . HashMap < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_3 , java . lang . Double > ( ) { { put ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 0 , 1 ) , 1.0 ) ; put ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 1 , 2 ) , 1.0 ) ; put ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 2 , 6 ) , FLOAT_0 ) ; put ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 6 , 7 ) , 1.0 ) ; put ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 7 , 10 ) , FLOAT_1 ) ; } } ; final java . util . stream . IDENT_4 < com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . IDENT_5 > init = java . util . stream . IDENT_4 . of ( expect , METHOD_2 ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( ( - 100 ) , ( - 10 ) ) , 0.0 ) , METHOD_2 ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 1000 , INT_0 ) , FLOAT_2 ) , METHOD_2 ( new com . IDENT_0 . IDENT_1 . metrics . IDENT_2 . METHOD_1 ( 1000 , INT_0 ) , ( - FLOAT_2 ) ) ) . map ( Map :: entrySet ) . METHOD_3 ( Collection :: stream ) . map ( com . IDENT_0 . IDENT_1 . metrics . IDENT_6 :: IDENT_7 ) ; final com . IDENT_0 . IDENT_1 . metrics . IDENT_2 IDENT_8 = new com . IDENT_0 . IDENT_1 . metrics . METHOD_4 ( init ) ; "<AssertPlaceHolder>" ; } stream ( ) { final java . util . List < com . IDENT_0 . IDENT_1 . metrics . IDENT_9 . IDENT_10 > expected = com . IDENT_0 . IDENT_11 . remote . IDENT_12 . IDENT_13 . METHOD_5 ( ) . collect ( java . util . stream . IDENT_14 . toList ( ) ) ; when ( IDENT_12 . stream ( ) ) . METHOD_6 ( ( IDENT_15 ) -> METHOD_5 ( ) ) ; final java . util . List < com . IDENT_0 . IDENT_1 . metrics . IDENT_9 . IDENT_10 > result = client . stream ( ) . collect ( java . util . stream . IDENT_14 . toList ( ) ) ; org . junit . Assert . assertEquals ( expected , result ) ; verify ( IDENT_12 , times ( 1 ) ) . stream ( ) ; METHOD_7 ( IDENT_12 ) ; }
org . junit . Assert . assertThat ( IDENT_8 . stream ( ) . collect ( java . util . stream . IDENT_14 . toList ( ) ) , org . hamcrest . Matchers . contains ( new com . IDENT_0 . IDENT_1 . metrics . METHOD_4 . METHOD_8 ( new com . IDENT_0 . IDENT_1 . metrics . METHOD_4 . METHOD_1 ( 0 , 10 ) , 10 ) ) )