METHOD_0 ( ) { org . IDENT_0 . media . entity . IDENT_1 IDENT_2 = new org . IDENT_0 . media . entity . METHOD_1 ( STRING_0 , "b" , IDENT_3 ) ; org . IDENT_0 . media . entity . IDENT_4 IDENT_5 = new org . IDENT_0 . media . entity . METHOD_2 ( STRING_1 , STRING_2 , IDENT_3 ) ; IDENT_5 . METHOD_3 ( IDENT_2 ) ; IDENT_5 . METHOD_4 ( 4 ) ; org . IDENT_0 . media . entity . IDENT_6 IDENT_7 = new org . IDENT_0 . media . entity . METHOD_5 ( STRING_3 , STRING_4 , IDENT_3 ) ; IDENT_7 . METHOD_6 ( IDENT_2 ) ; IDENT_7 . METHOD_7 ( IDENT_5 ) ; for ( java . util . List < org . IDENT_0 . media . entity . IDENT_8 > IDENT_9 : com . google . common . collect . IDENT_10 . METHOD_8 ( com . google . common . collect . ImmutableList . of ( IDENT_2 , IDENT_5 , IDENT_7 ) ) ) { org . mockito . IDENT_11 . IDENT_12 < java . util . Set < ? extends org . IDENT_0 . media . entity . IDENT_8 > > IDENT_11 = org . mockito . Mockito . < java . util . Set < ? extends org . IDENT_0 . media . entity . IDENT_8 > > when ( IDENT_13 . METHOD_9 ( org . IDENT_0 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_17 ) ) ; IDENT_11 = IDENT_11 . thenReturn ( com . google . common . collect . IDENT_18 . METHOD_10 ( IDENT_9 ) ) ; when ( resolver . METHOD_11 ( org . mockito . Matchers . < java . lang . IDENT_19 < java . lang . String > > any ( ) ) ) . thenReturn ( org . IDENT_0 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_20 ) ; handler . METHOD_12 ( ) ; handler . METHOD_13 ( org . IDENT_0 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_17 ) ; handler . METHOD_14 ( ) ; org . mockito . IDENT_21 IDENT_22 = METHOD_15 ( writer ) ; METHOD_15 . verify ( writer , times ( 1 ) ) . METHOD_16 ( IDENT_2 ) ; METHOD_15 . verify ( writer , times ( 1 ) ) . METHOD_16 ( IDENT_5 ) ; METHOD_15 . verify ( writer , times ( 1 ) ) . METHOD_16 ( IDENT_7 ) ; METHOD_15 . METHOD_17 ( ) ; METHOD_18 ( writer ) ; "<AssertPlaceHolder>" ; IDENT_7 . METHOD_19 ( null ) ; } } METHOD_20 ( ) { return IDENT_23 ; }
org . junit . Assert . assertThat ( IDENT_7 . METHOD_20 ( ) , org . hamcrest . Matchers . is ( 4 ) )