METHOD_0 ( ) { java . util . HashMap < java . lang . String , org . apache . IDENT_0 . IDENT_1 . api . IDENT_2 > IDENT_3 = new java . util . HashMap < java . lang . String , org . apache . IDENT_0 . IDENT_1 . api . IDENT_2 > ( ) ; java . lang . String IDENT_4 = STRING_0 ; org . apache . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_5 = org . apache . IDENT_0 . IDENT_1 . api . IDENT_2 . create ( IDENT_2 . IDENT_6 . IDENT_7 , IDENT_2 . IDENT_8 . IDENT_9 , IDENT_10 . IDENT_11 , org . apache . IDENT_0 . IDENT_1 . api . IDENT_12 . create ( STRING_1 ) , org . apache . IDENT_0 . IDENT_1 . api . IDENT_13 . create ( STRING_2 ) ) ; java . lang . String IDENT_14 = STRING_3 ; org . apache . IDENT_0 . IDENT_1 . api . IDENT_15 IDENT_16 = mock ( org . apache . IDENT_0 . IDENT_1 . api . IDENT_15 . class ) ; when ( IDENT_16 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_16 . METHOD_2 ( ) ) . thenReturn ( IDENT_14 ) ; when ( IDENT_16 . METHOD_3 ( IDENT_14 ) ) . thenReturn ( 2 ) ; when ( IDENT_16 . METHOD_3 ( IDENT_4 ) ) . thenReturn ( 3 ) ; IDENT_3 . put ( IDENT_4 , IDENT_5 ) ; org . apache . IDENT_0 . IDENT_1 . library . IDENT_17 . IDENT_18 manager = new org . apache . IDENT_0 . IDENT_1 . library . IDENT_17 . METHOD_4 ( IDENT_16 ) ; manager . METHOD_5 ( ) ; verify ( IDENT_16 , times ( 1 ) ) . METHOD_6 ( ) ; manager . METHOD_7 ( new org . apache . IDENT_0 . IDENT_1 . api . event . METHOD_8 ( IDENT_4 , org . apache . IDENT_0 . IDENT_1 . api . event . IDENT_19 . IDENT_20 ) ) ; verify ( IDENT_16 , times ( 1 ) ) . METHOD_9 ( ) ; verify ( IDENT_16 , times ( 0 ) ) . METHOD_10 ( IDENT_21 . METHOD_11 ( ) ) ; manager . METHOD_12 ( java . util . Collections . singletonList ( org . apache . IDENT_0 . IDENT_1 . library . IDENT_17 . IDENT_22 . METHOD_13 ( IDENT_4 , 0 ) ) ) ; manager . METHOD_14 ( org . apache . IDENT_0 . IDENT_1 . library . IDENT_17 . IDENT_22 . METHOD_13 ( IDENT_4 , 1 ) ) ; verify ( IDENT_16 , times ( 0 ) ) . METHOD_10 ( METHOD_15 ( ) ) ; manager . METHOD_14 ( org . apache . IDENT_0 . IDENT_1 . library . IDENT_17 . IDENT_22 . METHOD_13 ( IDENT_4 , 2 ) ) ; verify ( IDENT_16 , times ( 1 ) ) . METHOD_10 ( IDENT_21 . METHOD_11 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return IDENT_23 . getValue ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_21 . getValue ( ) . size ( ) )