METHOD_0 ( ) { javax . json . IDENT_0 result = org . glassfish . json . tests . IDENT_1 . IDENT_2 . METHOD_1 ( javax . json . IDENT_3 . class ) . stream ( ) . filter ( ( x ) -> STRING_0 . equals ( x . getString ( STRING_1 ) ) ) . map ( ( x ) -> x . get ( "name" ) ) . collect ( javax . json . stream . IDENT_4 . METHOD_2 ( ) ) ; javax . json . IDENT_5 expected = org . glassfish . json . IDENT_6 . METHOD_3 ( STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . lang . StringBuilder builder = new java . lang . StringBuilder ( ) ; boolean IDENT_7 = false ; for ( int i = 0 ; i < ( IDENT_8 . length ( ) ) ; i ++ ) { char ch = IDENT_8 . charAt ( i ) ; else if ( ch == STRING_3 ) { ch = STRING_4 ; IDENT_7 = ! IDENT_7 ; } builder . append ( ch ) ; } javax . json . IDENT_9 reader = javax . json . IDENT_10 . METHOD_4 ( new java . io . METHOD_5 ( builder . toString ( ) ) ) ; javax . json . IDENT_5 value = reader . METHOD_6 ( ) ; reader . close ( ) ; return value ; }
org . junit . Assert . assertEquals ( expected , result )