METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . as . data . IDENT_2 > IDENT_3 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . as . data . IDENT_2 > ( ) ; IDENT_3 . add ( new com . IDENT_0 . IDENT_1 . as . data . METHOD_1 ( 1 ) ) ; IDENT_3 . add ( new com . IDENT_0 . IDENT_1 . as . data . METHOD_1 ( 2 ) ) ; when ( IDENT_4 . METHOD_2 ( METHOD_3 ( ) , any ( java . util . Date . class ) ) ) . thenReturn ( IDENT_3 ) ; doReturn ( new com . IDENT_0 . IDENT_1 . as . data . METHOD_4 ( 1 ) ) . when ( IDENT_5 ) . METHOD_5 ( new com . IDENT_0 . IDENT_1 . util . net . METHOD_6 ( com . IDENT_0 . IDENT_1 . as . business . IDENT_6 . IDENT_7 ) ) ; java . lang . String response = IDENT_5 . METHOD_7 ( new com . IDENT_0 . IDENT_1 . util . net . METHOD_6 ( com . IDENT_0 . IDENT_1 . as . business . IDENT_6 . IDENT_7 ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( com . IDENT_0 . IDENT_1 . util . net . METHOD_6 ) { try { com . IDENT_0 . IDENT_1 . as . data . METHOD_4 IDENT_8 = METHOD_5 ( IDENT_9 ) ; if ( IDENT_8 == null ) { throw new com . IDENT_0 . IDENT_10 . as . common . METHOD_8 ( IDENT_11 . IDENT_12 , IDENT_9 ) ; } log . info ( STRING_0 ) ; METHOD_9 ( IDENT_8 ) ; METHOD_10 ( IDENT_8 ) ; METHOD_11 ( METHOD_12 ( IDENT_8 ) ) ; METHOD_13 ( IDENT_8 . getId ( ) ) ; METHOD_14 ( IDENT_8 ) ; METHOD_15 ( ) . METHOD_16 ( IDENT_8 . getId ( ) ) ; METHOD_17 ( IDENT_8 . getId ( ) , IDENT_8 . getName ( ) ) ; } catch ( com . IDENT_0 . IDENT_10 . as . common . METHOD_8 IDENT_13 ) { throw IDENT_13 ; } catch ( com . IDENT_0 . IDENT_1 . crypto . IDENT_14 e ) { throw new com . IDENT_0 . IDENT_10 . as . common . METHOD_8 ( IDENT_11 . IDENT_15 , ( ( e . METHOD_18 ( ) ) == null ? e . getMessage ( ) : e . METHOD_18 ( ) . getMessage ( ) ) , e ) ; } catch ( java . lang . Exception e ) { throw new com . IDENT_0 . IDENT_10 . as . common . METHOD_8 ( e ) ; } return STRING_1 ; }
org . junit . Assert . assertTrue ( response . equalsIgnoreCase ( STRING_1 ) )