METHOD_0 ( ) { int count = org . springframework . batch . test . IDENT_0 . METHOD_1 ( METHOD_2 ( ) , new java . util . concurrent . IDENT_1 < java . lang . Integer > ( ) { @ com . IDENT_2 . IDENT_3 . IDENT_4 . batch . integration . reader . Override public com . IDENT_2 . IDENT_3 . IDENT_4 . batch . integration . reader . Integer call ( ) throws com . IDENT_2 . IDENT_3 . IDENT_4 . batch . integration . reader . Exception { int count = 0 ; try { ( ( org . springframework . batch . item . IDENT_5 ) ( reader ) ) . METHOD_3 ( new org . springframework . batch . item . METHOD_4 ( ) ) ; while ( ( reader . read ( ) ) != null ) { count ++ ; } return count ; } finally { ( ( org . springframework . batch . item . IDENT_5 ) ( reader ) ) . close ( ) ; } } } ) ; "<AssertPlaceHolder>" ; } close ( ) { }
org . junit . Assert . assertEquals ( 8 , count )