METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . getType ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; org . IDENT_0 . IDENT_1 . meta . IDENT_6 IDENT_7 = mock ( org . IDENT_0 . IDENT_1 . meta . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . IDENT_11 item = mock ( IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . IDENT_11 . class ) ; when ( item . METHOD_3 ( ) ) . thenReturn ( IDENT_3 ) ; when ( item . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( item . getName ( ) ) . thenReturn ( STRING_0 ) ; IDENT_12 = new java . util . HashMap ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_12 . put ( i , item ) ; } when ( IDENT_13 . METHOD_5 ( ) ) . thenReturn ( INT_0 ) ; when ( IDENT_13 . METHOD_3 ( org . mockito . Mockito . METHOD_6 ( ) ) ) . thenReturn ( IDENT_3 ) ; IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . IDENT_14 p = new IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . METHOD_7 ( name , IDENT_12 , 0 , user , listener ) ; org . IDENT_0 . IDENT_1 . IDENT_2 IDENT_15 = mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_15 . getType ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; org . IDENT_0 . IDENT_1 . meta . IDENT_6 IDENT_16 = mock ( org . IDENT_0 . IDENT_1 . meta . IDENT_6 . class ) ; when ( IDENT_16 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_15 . METHOD_2 ( ) ) . thenReturn ( IDENT_16 ) ; IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . IDENT_11 IDENT_17 = mock ( IDENT_8 . IDENT_9 . IDENT_9 . api . IDENT_10 . IDENT_11 . class ) ; when ( IDENT_3 . getType ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; when ( IDENT_17 . METHOD_3 ( ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_17 . METHOD_4 ( ) ) . thenReturn ( true ) ; when ( IDENT_17 . getName ( ) ) . thenReturn ( STRING_0 ) ; p . METHOD_8 ( IDENT_17 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_13 ) . METHOD_9 ( org . mockito . Mockito . METHOD_6 ( ) , org . mockito . Mockito . eq ( IDENT_15 ) ) ; } METHOD_10 ( ) { return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_17 , p . METHOD_10 ( ) . get ( 0 ) )