METHOD_0 ( ) { nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_3 IDENT_4 = mock ( nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_3 . class ) ; nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_5 IDENT_6 = mock ( nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_5 . class ) ; nl . IDENT_0 . IDENT_1 . repository . IDENT_7 filter = new nl . IDENT_0 . IDENT_1 . repository . METHOD_1 ( ) ; org . IDENT_8 . IDENT_9 IDENT_10 = mock ( org . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_6 . resolve ( filter ) ) . thenReturn ( IDENT_4 ) ; nl . IDENT_0 . IDENT_1 . json . model . IDENT_11 IDENT_12 = new nl . IDENT_0 . IDENT_1 . json . model . METHOD_2 ( new java . util . ArrayList < nl . IDENT_0 . IDENT_1 . json . model . IDENT_13 > ( ) , new java . util . Date ( ) ) ; when ( IDENT_4 . METHOD_3 ( org . mockito . Matchers . any ( org . IDENT_8 . IDENT_9 . class ) , eq ( filter ) , org . mockito . Matchers . any ( nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_14 . IDENT_15 . class ) ) ) . thenReturn ( IDENT_12 ) ; nl . IDENT_0 . IDENT_1 . repository . IDENT_16 repository = new nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . METHOD_4 ( IDENT_10 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( nl . IDENT_0 . IDENT_1 . repository . METHOD_1 ) { nl . IDENT_0 . IDENT_1 . json . model . METHOD_2 result ; java . util . List < nl . IDENT_0 . IDENT_1 . json . model . IDENT_13 > IDENT_17 ; result = nl . IDENT_0 . IDENT_1 . repository . IDENT_2 . IDENT_18 . repository . METHOD_5 ( filter ) ; IDENT_17 = result . METHOD_5 ( ) ; return IDENT_17 ; }
org . junit . Assert . assertEquals ( IDENT_12 , repository . METHOD_5 ( filter ) )