METHOD_0 ( ) { java . util . List < com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . data . IDENT_4 > expected = java . util . Collections . singletonList ( mock ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . data . IDENT_4 . class ) ) ; when ( com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_1 ( anyString ( ) ) ) . thenReturn ( expected ) ; java . util . List < com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . data . IDENT_4 > actual = com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 . getInstance ( ) . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { if ( ( cache . containsKey ( url ) ) && ( ! ( METHOD_3 ( url ) ) ) ) { com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 . logger . debug ( ( STRING_1 + url ) ) ; return cache . get ( url ) ; } com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 . logger . info ( STRING_2 , url ) ; java . util . List < com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . data . IDENT_4 > IDENT_7 = com . IDENT_0 . hudson . plugins . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_1 ( url ) ; IDENT_8 . put ( url , java . lang . System . currentTimeMillis ( ) ) ; cache . put ( url , IDENT_7 ) ; return IDENT_7 ; }
org . junit . Assert . assertEquals ( expected , actual )