METHOD_0 ( ) { final nl . bzk . migratiebrp . IDENT_0 . database . entities . IDENT_1 IDENT_2 = new nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( INT_0 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_3 ( org . mockito . Matchers . METHOD_4 ( ) , org . mockito . Matchers . METHOD_5 ( nl . bzk . migratiebrp . IDENT_0 . runtime . Integer . class ) , org . mockito . Matchers . eq ( INT_0 ) , org . mockito . Matchers . eq ( STRING_0 ) , org . mockito . Matchers . eq ( IDENT_4 . IDENT_5 ) ) ) . METHOD_6 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . Integer > ( ) { @ nl . bzk . migratiebrp . IDENT_0 . runtime . Override public nl . bzk . migratiebrp . IDENT_0 . runtime . Integer METHOD_7 ( final org . mockito . IDENT_8 . IDENT_9 IDENT_8 ) throws nl . bzk . migratiebrp . IDENT_0 . IDENT_10 . exception . IDENT_11 { final int IDENT_12 = ( ( int ) ( IDENT_8 . METHOD_8 ( ) [ 0 ] ) ) ; @ nl . bzk . migratiebrp . IDENT_0 . runtime . METHOD_9 ( STRING_1 ) final java . util . List < java . lang . Integer > IDENT_13 = ( ( java . util . List < java . lang . Integer > ) ( IDENT_8 . METHOD_8 ( ) [ 1 ] ) ) ; if ( IDENT_12 == 0 ) { IDENT_13 . add ( INT_1 ) ; IDENT_13 . add ( INT_2 ) ; IDENT_13 . add ( INT_3 ) ; IDENT_13 . add ( INT_4 ) ; return INT_5 ; } else if ( IDENT_12 == INT_5 ) { IDENT_13 . add ( INT_6 ) ; return INT_0 ; } else if ( IDENT_12 == INT_0 ) { throw new nl . bzk . migratiebrp . IDENT_0 . IDENT_10 . exception . METHOD_10 ( STRING_2 ) ; } org . junit . Assert . fail ( ) ; return 0 ; } } ) ; final nl . bzk . migratiebrp . IDENT_0 . database . entities . IDENT_14 IDENT_15 = new nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 ( ) ; final nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 IDENT_16 = new nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 ( ) ; final nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 IDENT_17 = new nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 ( ) ; org . mockito . Mockito . when ( IDENT_3 . getMessage ( INT_1 ) ) . thenReturn ( IDENT_15 ) ; org . mockito . Mockito . when ( IDENT_3 . getMessage ( INT_2 ) ) . METHOD_12 ( new nl . bzk . migratiebrp . IDENT_0 . IDENT_10 . exception . METHOD_10 ( STRING_2 ) ) ; org . mockito . Mockito . when ( IDENT_3 . getMessage ( INT_3 ) ) . thenReturn ( null ) ; org . mockito . Mockito . when ( IDENT_3 . getMessage ( INT_4 ) ) . thenReturn ( IDENT_16 ) ; org . mockito . Mockito . when ( IDENT_3 . getMessage ( INT_6 ) ) . thenReturn ( IDENT_17 ) ; try { subject . METHOD_13 ( IDENT_2 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( final nl . bzk . migratiebrp . IDENT_0 . runtime . exceptions . IDENT_18 e ) { "<AssertPlaceHolder>" ; } org . mockito . Mockito . verify ( IDENT_19 ) . save ( IDENT_15 ) ; org . mockito . Mockito . verify ( IDENT_19 ) . save ( IDENT_16 ) ; org . mockito . Mockito . verify ( IDENT_19 ) . save ( IDENT_17 ) ; org . mockito . Mockito . verify ( IDENT_20 ) . METHOD_14 ( IDENT_15 , IDENT_21 . IDENT_22 ) ; org . mockito . Mockito . verify ( IDENT_20 ) . METHOD_14 ( IDENT_16 , IDENT_21 . IDENT_22 ) ; org . mockito . Mockito . verify ( IDENT_20 ) . METHOD_14 ( IDENT_17 , IDENT_21 . IDENT_22 ) ; } METHOD_13 ( nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_1 ) { int IDENT_12 = ( ( IDENT_2 . METHOD_15 ( ) ) == null ) ? 0 : ( IDENT_2 . METHOD_15 ( ) ) + 1 ; nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . debug ( STRING_4 , IDENT_2 . METHOD_16 ( ) , IDENT_12 ) ; int IDENT_24 = 0 ; int IDENT_25 = 0 ; final int IDENT_26 = IDENT_2 . METHOD_17 ( ) ; final java . util . List < java . lang . Integer > IDENT_13 = new java . util . ArrayList ( IDENT_26 ) ; try { do { IDENT_13 . METHOD_18 ( ) ; IDENT_12 = IDENT_3 . METHOD_3 ( IDENT_12 , IDENT_13 , IDENT_26 , STRING_0 , IDENT_4 . IDENT_5 ) ; if ( ! ( IDENT_13 . isEmpty ( ) ) ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . info ( STRING_5 , new java . lang . Object [ ] { IDENT_2 . METHOD_16 ( ) , IDENT_13 . size ( ) , IDENT_12 } ) ; } for ( final java . lang . Integer IDENT_27 : IDENT_13 ) { try { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . info ( STRING_6 , IDENT_2 . METHOD_16 ( ) , IDENT_27 ) ; final nl . bzk . migratiebrp . IDENT_0 . database . entities . METHOD_11 bericht = IDENT_3 . getMessage ( IDENT_27 ) ; if ( bericht != null ) { save ( bericht , IDENT_2 , IDENT_27 ) ; try ( nl . bzk . migratiebrp . util . common . logging . IDENT_28 . IDENT_29 IDENT_30 = nl . bzk . migratiebrp . util . common . logging . IDENT_28 . put ( IDENT_31 . IDENT_32 , bericht . getId ( ) ) ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . info ( IDENT_33 . IDENT_34 ) ; try { IDENT_20 . METHOD_14 ( bericht , IDENT_21 . IDENT_22 ) ; } catch ( final nl . bzk . migratiebrp . IDENT_0 . runtime . exceptions . IDENT_35 e ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . error ( STRING_7 ) ; } } IDENT_24 ++ ; } else { IDENT_25 ++ ; } } catch ( final nl . bzk . migratiebrp . IDENT_0 . IDENT_10 . exception . METHOD_10 IDENT_36 ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . error ( STRING_8 , new java . lang . Object [ ] { IDENT_2 . METHOD_16 ( ) , IDENT_27 , IDENT_36 } ) ; IDENT_25 ++ ; } } } while ( IDENT_12 != 0 ) ; } catch ( final nl . bzk . migratiebrp . IDENT_0 . IDENT_10 . exception . METHOD_10 IDENT_36 ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . error ( STRING_9 , IDENT_2 . METHOD_16 ( ) , IDENT_36 ) ; throw new nl . bzk . migratiebrp . IDENT_0 . runtime . exceptions . METHOD_19 ( STRING_10 , IDENT_36 ) ; } finally { if ( ( IDENT_24 > 0 ) || ( IDENT_25 > 0 ) ) { nl . bzk . migratiebrp . IDENT_0 . runtime . IDENT_23 . LOGGER . info ( STRING_11 , new java . lang . Object [ ] { IDENT_2 . METHOD_16 ( ) , IDENT_25 + IDENT_24 , IDENT_25 } ) ; } } }
org . junit . Assert . assertTrue ( true )