METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( result ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_1 ( result ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . IDENT_2 . IDENT_3 . results . IDENT_4 ) { org . IDENT_2 . IDENT_3 . results . description . IDENT_5 IDENT_6 = results . description ( ) . METHOD_2 ( STRING_0 ) ; org . IDENT_2 . media . entity . IDENT_7 container = results . subject ( ) . METHOD_3 ( ) ; if ( container == null ) { IDENT_6 . METHOD_4 ( STRING_1 ) . METHOD_5 ( ) ; return delegate . METHOD_1 ( results ) ; } java . lang . String IDENT_8 = container . METHOD_6 ( ) ; com . google . common . base . Optional < org . IDENT_2 . IDENT_3 . IDENT_9 > IDENT_10 = IDENT_11 . METHOD_7 ( com . google . common . collect . IDENT_12 . of ( IDENT_8 ) ) . get ( IDENT_8 ) ; if ( ! ( IDENT_10 . METHOD_8 ( ) ) ) { IDENT_6 . METHOD_4 ( STRING_2 ) . METHOD_5 ( ) ; throw new org . IDENT_2 . IDENT_3 . IDENT_13 . METHOD_9 ( results . subject ( ) ) ; } org . IDENT_2 . IDENT_3 . IDENT_9 IDENT_14 = IDENT_10 . get ( ) ; com . google . common . collect . IDENT_15 < org . IDENT_2 . media . entity . IDENT_16 , org . IDENT_2 . IDENT_3 . IDENT_17 > IDENT_18 = IDENT_14 . METHOD_10 ( ) ; java . util . List < org . IDENT_2 . IDENT_3 . results . IDENT_19 < org . IDENT_2 . media . entity . IDENT_20 > > IDENT_21 = results . METHOD_11 ( ) . stream ( ) . map ( ( result ) -> new org . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_19 < > ( result . subject ( ) , result . METHOD_12 ( ) , result . METHOD_13 ( ) , filter ( result . METHOD_14 ( ) , IDENT_18 , IDENT_6 ) , result . description ( ) ) ) . collect ( com . IDENT_22 . common . stream . IDENT_23 . METHOD_15 ( ) ) ; IDENT_6 . METHOD_5 ( ) ; return delegate . METHOD_1 ( new org . IDENT_2 . IDENT_3 . results . METHOD_16 ( results . subject ( ) , IDENT_21 , ( ( org . IDENT_2 . IDENT_3 . results . description . IDENT_24 ) ( IDENT_6 ) ) ) ) ; }
org . junit . Assert . assertThat ( handler . METHOD_1 ( result ) , org . hamcrest . core . Is . is ( true ) )