METHOD_0 ( ) { java . io . File f = null ; int IDENT_0 = 5 ; try { f = new java . io . File ( STRING_0 0 ) ; } catch ( java . lang . Exception e ) { } f . METHOD_1 ( ) ; org . apache . IDENT_1 . persistence . IDENT_2 em = org . apache . IDENT_1 . management . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_2 ( ) . METHOD_3 ( IDENT_6 ) ; org . apache . IDENT_1 . management . IDENT_3 . Map < java . lang . String , java . lang . Object > IDENT_7 = null ; org . apache . IDENT_1 . persistence . Entity [ ] entity ; entity = new org . apache . IDENT_1 . persistence . Entity [ IDENT_0 ] ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { IDENT_7 = new org . apache . IDENT_1 . management . IDENT_3 . IDENT_8 < java . lang . String , java . lang . Object > ( ) ; IDENT_7 . put ( STRING_0 , ( STRING_1 + i ) ) ; IDENT_7 . put ( STRING_2 , ( ( "test" + i ) + STRING_3 ) ) ; entity [ i ] = em . create ( STRING_4 , IDENT_7 ) ; } org . apache . IDENT_1 . management . IDENT_3 . IDENT_9 IDENT_10 = new org . apache . IDENT_1 . management . IDENT_3 . METHOD_4 ( STRING_0 0 ) ; org . apache . IDENT_1 . management . IDENT_3 . IDENT_11 IDENT_12 = org . apache . IDENT_1 . management . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_5 ( ) ; java . lang . String IDENT_13 = IDENT_14 . METHOD_6 ( ) . getName ( ) ; org . apache . IDENT_1 . management . IDENT_3 . HashMap < java . lang . String , java . lang . Object > payload = METHOD_7 ( IDENT_13 ) ; payload . put ( STRING_5 , IDENT_15 . METHOD_8 ( ) ) ; payload . put ( STRING_6 , IDENT_6 ) ; payload . put ( STRING_7 , STRING_4 ) ; org . apache . IDENT_1 . management . IDENT_3 . UUID IDENT_16 = IDENT_12 . METHOD_9 ( payload ) ; org . apache . IDENT_1 . persistence . entities . IDENT_17 IDENT_18 = METHOD_10 ( payload , IDENT_16 , IDENT_10 ) ; org . apache . IDENT_1 . batch . IDENT_19 IDENT_20 = mock ( org . apache . IDENT_1 . batch . IDENT_19 . class ) ; when ( IDENT_20 . METHOD_11 ( ) ) . thenReturn ( IDENT_18 ) ; org . apache . IDENT_1 . management . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_12 ( ) . METHOD_13 ( IDENT_6 ) ; IDENT_12 . METHOD_14 ( IDENT_20 ) ; com . fasterxml . jackson . core . type . IDENT_21 < org . apache . IDENT_1 . management . IDENT_3 . HashMap < java . lang . String , java . lang . Object > > IDENT_22 = new com . fasterxml . jackson . core . type . IDENT_21 < org . apache . IDENT_1 . management . IDENT_3 . HashMap < java . lang . String , java . lang . Object > > ( ) { } ; com . fasterxml . jackson . databind . IDENT_23 mapper = new com . fasterxml . jackson . databind . METHOD_15 ( ) ; org . apache . IDENT_1 . management . IDENT_3 . HashMap < java . lang . String , java . lang . Object > IDENT_24 = mapper . METHOD_16 ( new java . io . METHOD_17 ( f ) , IDENT_22 ) ; org . apache . IDENT_1 . management . IDENT_3 . Map IDENT_25 = ( ( org . apache . IDENT_1 . management . IDENT_3 . Map ) ( IDENT_24 . get ( STRING_8 ) ) ) ; java . lang . String IDENT_26 = ( ( java . lang . String ) ( IDENT_25 . METHOD_18 ( ) . iterator ( ) . next ( ) ) ) ; org . apache . IDENT_1 . management . IDENT_3 . List collection = ( ( org . apache . IDENT_1 . management . IDENT_3 . List ) ( IDENT_25 . get ( IDENT_26 ) ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return entities . size ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , collection . size ( ) )