METHOD_0 ( ) { final nl . bzk . brp . bijhouding . bericht . model . IDENT_0 IDENT_1 = mock ( nl . bzk . brp . bijhouding . bericht . model . IDENT_0 . class ) ; final nl . bzk . brp . bijhouding . bericht . model . IDENT_2 index = mock ( nl . bzk . brp . bijhouding . bericht . model . IDENT_2 . class ) ; final nl . bzk . brp . bijhouding . bericht . model . IDENT_3 bericht = METHOD_1 ( METHOD_2 ( java . util . Collections . emptyList ( ) ) , true ) ; bericht . METHOD_3 ( index ) ; when ( index . METHOD_4 ( nl . bzk . brp . bijhouding . bericht . model . IDENT_0 . class ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_1 ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( null ) ; when ( IDENT_1 . METHOD_5 ( ) ) . thenReturn ( true ) ; final nl . bzk . brp . bijhouding . bericht . model . IDENT_4 IDENT_5 = mock ( nl . bzk . brp . bijhouding . bericht . model . IDENT_4 . class ) ; final nl . bzk . IDENT_6 . dal . domein . brp . entity . IDENT_7 IDENT_8 = new nl . bzk . IDENT_6 . dal . domein . brp . entity . METHOD_6 ( nl . bzk . IDENT_6 . dal . domein . brp . IDENT_9 . IDENT_10 . IDENT_11 , IDENT_5 ) ; IDENT_8 . METHOD_7 ( IDENT_1 ) ; when ( index . METHOD_4 ( nl . bzk . brp . bijhouding . bericht . model . IDENT_4 . class ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_5 ) ) ; when ( IDENT_5 . METHOD_8 ( ) ) . thenReturn ( java . util . Collections . METHOD_9 ( IDENT_8 ) ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { java . util . Set < nl . bzk . brp . bijhouding . bericht . model . IDENT_0 > IDENT_12 = new java . util . HashSet ( ) ; IDENT_12 . addAll ( METHOD_4 ( nl . bzk . brp . bijhouding . bericht . model . IDENT_0 . class ) ) ; final java . util . List < nl . bzk . brp . bijhouding . bericht . model . IDENT_4 > IDENT_13 = METHOD_4 ( nl . bzk . brp . bijhouding . bericht . model . IDENT_4 . class ) ; for ( final nl . bzk . brp . bijhouding . bericht . model . IDENT_4 IDENT_14 : IDENT_13 ) { IDENT_12 . addAll ( IDENT_14 . METHOD_11 ( this ) ) ; } return IDENT_12 . stream ( ) . filter ( IDENT_15 :: METHOD_5 ) . collect ( java . util . stream . IDENT_16 . METHOD_12 ( ) ) ; }
org . junit . Assert . assertEquals ( 2 , bericht . METHOD_10 ( ) . size ( ) )