METHOD_0 ( ) { final org . joda . time . IDENT_0 end = new org . joda . time . METHOD_1 ( org . joda . time . IDENT_1 . IDENT_2 ) ; final org . joda . time . METHOD_1 IDENT_3 = end . METHOD_2 ( org . joda . time . IDENT_4 . METHOD_3 ( 1 ) ) ; final org . joda . time . IDENT_4 IDENT_5 = org . joda . time . IDENT_4 . METHOD_4 ( 1 ) ; final java . util . List < com . IDENT_6 . IDENT_7 . metrics . IDENT_8 . IDENT_9 > expected = com . IDENT_6 . IDENT_10 . remote . IDENT_11 . IDENT_12 . METHOD_5 ( ) . collect ( java . util . stream . IDENT_13 . toList ( ) ) ; when ( IDENT_11 . stream ( org . mockito . Mockito . METHOD_6 ( org . joda . time . METHOD_1 . class ) , org . mockito . Mockito . METHOD_6 ( org . joda . time . METHOD_1 . class ) , org . mockito . Mockito . METHOD_6 ( org . joda . time . IDENT_4 . class ) ) ) . METHOD_7 ( ( IDENT_14 ) -> METHOD_5 ( ) ) ; final java . util . List < com . IDENT_6 . IDENT_7 . metrics . IDENT_8 . IDENT_9 > result = client . stream ( IDENT_3 , end , IDENT_5 ) . collect ( java . util . stream . IDENT_13 . toList ( ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_11 , times ( 1 ) ) . stream ( org . mockito . Mockito . eq ( IDENT_3 ) , org . mockito . Mockito . eq ( end ) , org . mockito . Mockito . eq ( IDENT_5 ) ) ; METHOD_8 ( IDENT_11 ) ; } collect ( java . util . stream . IDENT_15 ) { try ( final java . util . stream . IDENT_16 < T > s = stream . get ( ) ) { return s . collect ( IDENT_17 ) ; } }
org . junit . Assert . assertEquals ( expected , result )