METHOD_0 ( ) { context . put ( STRING_0 , null ) ; javax . servlet . http . IDENT_0 IDENT_1 = mock ( javax . servlet . http . IDENT_0 . class ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_2 . METHOD_2 ( STRING_2 , STRING_3 ) ) . thenReturn ( repository ) ; when ( IDENT_3 . METHOD_3 ( repository ) ) . thenReturn ( IDENT_4 ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . item . IDENT_8 job = new com . IDENT_5 . IDENT_6 . IDENT_7 . item . IDENT_8 . METHOD_4 ( 1 ) . METHOD_5 ( STRING_4 ) . build ( ) ; java . util . List < com . IDENT_5 . IDENT_6 . IDENT_7 . item . IDENT_8 > IDENT_9 = new java . util . ArrayList ( ) ; IDENT_9 . add ( job ) ; when ( IDENT_3 . METHOD_6 ( any ( ) ) ) . thenReturn ( IDENT_9 ) ; context . put ( STRING_5 , IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . util . Map ) { final com . IDENT_10 . IDENT_11 . repository . IDENT_12 repository = METHOD_8 ( context ) ; if ( repository == null ) { return false ; } com . IDENT_10 . IDENT_11 . IDENT_13 . IDENT_14 IDENT_4 = IDENT_3 . METHOD_3 ( repository ) ; for ( com . IDENT_5 . IDENT_6 . IDENT_7 . item . IDENT_8 job : IDENT_3 . METHOD_6 ( IDENT_4 . METHOD_9 ( ) ) ) { if ( job . METHOD_10 ( ) . contains ( IDENT_15 . IDENT_16 ) ) { return true ; } } return false ; }
org . junit . Assert . assertTrue ( condition . METHOD_7 ( context ) )