METHOD_0 ( ) { com . IDENT_0 . stream . Optional < java . lang . Integer > result = com . IDENT_0 . stream . Optional . of ( 10 ) . METHOD_1 ( new com . IDENT_0 . stream . function . IDENT_1 < com . IDENT_0 . stream . Optional < java . lang . Integer > , com . IDENT_0 . stream . Optional < java . lang . Integer > > ( ) { @ com . IDENT_0 . stream . Override public com . IDENT_0 . stream . Optional < java . lang . Integer > apply ( com . IDENT_0 . stream . Optional < java . lang . Integer > IDENT_2 ) { return IDENT_2 . filter ( com . IDENT_0 . stream . IDENT_3 . METHOD_2 ( 2 ) ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( int ) { return com . IDENT_0 . stream . test . hamcrest . IDENT_4 . METHOD_4 ( org . hamcrest . CoreMatchers . is ( value ) ) ; }
org . junit . Assert . assertThat ( result , METHOD_3 ( 10 ) )