METHOD_0 ( ) { METHOD_1 ( ) ; java . lang . Long IDENT_0 = INT_0 * INT_1 ; java . lang . Long IDENT_1 = 1 * INT_1 ; when ( spec . METHOD_2 ( ) ) . thenReturn ( IDENT_0 ) ; when ( spec . collect ( any ( ) ) ) . METHOD_3 ( new org . mockito . IDENT_2 . IDENT_3 < org . opennms . IDENT_4 . collection . api . IDENT_5 > ( ) { @ org . opennms . IDENT_4 . IDENT_6 . Override public org . opennms . IDENT_4 . collection . api . IDENT_5 METHOD_4 ( org . mockito . IDENT_7 . IDENT_8 IDENT_7 ) throws org . opennms . IDENT_4 . IDENT_6 . IDENT_9 { java . lang . Thread . sleep ( IDENT_1 ) ; return null ; } } ) ; org . mockito . IDENT_10 < java . lang . Long > IDENT_11 = org . mockito . IDENT_10 . METHOD_5 ( org . opennms . IDENT_4 . IDENT_6 . Long . class ) ; service . run ( ) ; verify ( IDENT_12 , times ( 1 ) ) . METHOD_6 ( IDENT_11 . METHOD_7 ( ) , any ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_11 . getValue ( ) )