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 < java . util . Collection < com . IDENT_6 . IDENT_7 . metrics . IDENT_8 . IDENT_9 . IDENT_10 > > expected = com . IDENT_6 . IDENT_11 . remote . IDENT_8 . IDENT_12 . METHOD_5 ( ) . collect ( java . util . stream . IDENT_13 . toList ( ) ) ; when ( IDENT_8 . evaluate ( org . mockito . Mockito . any ( ) , 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 < java . util . Collection < com . IDENT_6 . IDENT_7 . metrics . IDENT_8 . IDENT_9 . IDENT_10 > > result = client . evaluate ( METHOD_8 ( "name" , expr ) , IDENT_3 , end , IDENT_5 ) . collect ( java . util . stream . IDENT_13 . toList ( ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , times ( 1 ) ) . evaluate ( org . mockito . Mockito . < java . util . Map > METHOD_9 ( org . hamcrest . Matchers . METHOD_10 ( org . hamcrest . Matchers . equalTo ( "name" ) , new com . IDENT_6 . IDENT_11 . remote . IDENT_8 . IDENT_12 . METHOD_11 ( expr ) ) ) , org . mockito . Mockito . eq ( IDENT_3 ) , org . mockito . Mockito . eq ( end ) , org . mockito . Mockito . eq ( IDENT_5 ) ) ; METHOD_12 ( IDENT_8 ) ; } 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 )