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