METHOD_0 ( ) { final uk . gov . gchq . gaffer . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . String > iterator = mock ( uk . gov . gchq . gaffer . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; METHOD_1 ( iterator . hasNext ( ) ) . METHOD_2 ( true , false ) ; final java . lang . String first = STRING_0 ; METHOD_1 ( iterator . next ( ) ) . METHOD_2 ( first , null , null ) ; final java . lang . Object IDENT_3 ; try ( final java . util . stream . IDENT_4 stream = uk . gov . gchq . gaffer . IDENT_0 . stream . IDENT_5 . METHOD_3 ( iterator ) ) { IDENT_3 = stream . METHOD_4 ( ) . METHOD_5 ( RuntimeException :: new ) ; } "<AssertPlaceHolder>" ; verify ( iterator ) . close ( ) ; } METHOD_3 ( java . lang . IDENT_6 ) { if ( IDENT_1 instanceof uk . gov . gchq . gaffer . IDENT_0 . IDENT_1 . IDENT_7 ) { return ( ( uk . gov . gchq . gaffer . IDENT_0 . IDENT_1 . IDENT_7 < T > ) ( IDENT_1 ) ) . METHOD_6 ( ) ; } return java . util . stream . IDENT_8 . stream ( IDENT_1 . METHOD_7 ( ) , false ) . METHOD_8 ( ( ) -> uk . gov . gchq . gaffer . IDENT_0 . IDENT_9 . close ( IDENT_1 ) ) ; }
org . junit . Assert . assertEquals ( first , IDENT_3 )