METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( METHOD_2 ( org . hamcrest . Matchers . METHOD_3 ( subject . METHOD_4 ( ) . METHOD_5 ( ) ) ) ) ) . thenReturn ( com . IDENT_1 . common . collect . IDENT_2 . of ( ) ) ; org . IDENT_3 . IDENT_4 . results . IDENT_5 < org . IDENT_3 . media . entity . IDENT_6 > result = new org . IDENT_3 . IDENT_4 . results . IDENT_5 < org . IDENT_3 . media . entity . IDENT_6 > ( subject , IDENT_7 , IDENT_8 , com . google . common . collect . IDENT_9 . of ( IDENT_10 . IDENT_11 , org . IDENT_3 . IDENT_4 . results . IDENT_12 . IDENT_13 . valueOf ( new org . IDENT_3 . media . entity . METHOD_6 ( ) , IDENT_14 . IDENT_15 ) ) , new org . IDENT_3 . IDENT_4 . results . description . METHOD_7 ( ) ) ; org . IDENT_3 . IDENT_4 . IDENT_16 . IDENT_17 < org . IDENT_3 . media . entity . METHOD_6 > handler = org . IDENT_3 . IDENT_4 . IDENT_16 . IDENT_18 . METHOD_8 ( delegate , IDENT_0 ) ; try { handler . METHOD_9 ( result ) ; junit . framework . Assert . fail ( STRING_0 ) ; } catch ( org . IDENT_3 . IDENT_4 . IDENT_16 . IDENT_19 e ) { "<AssertPlaceHolder>" ; } } METHOD_10 ( ) { return item ; }
org . junit . Assert . assertThat ( e . METHOD_10 ( ) , org . hamcrest . core . Is . is ( subject ) )