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