METHOD_0 ( ) { org . IDENT_0 . model . IDENT_1 c = org . IDENT_0 . test . IDENT_2 . METHOD_1 ( IDENT_3 ) ; org . IDENT_0 . model . IDENT_4 IDENT_5 = new org . IDENT_0 . model . METHOD_2 ( pool , c , IDENT_3 , 1 ) ; org . IDENT_0 . model . METHOD_2 IDENT_6 = new org . IDENT_0 . model . METHOD_2 ( pool , c , IDENT_3 , 1 ) ; java . util . List < org . IDENT_0 . model . METHOD_2 > IDENT_7 = new java . util . ArrayList ( ) ; IDENT_7 . add ( IDENT_5 ) ; IDENT_7 . add ( IDENT_6 ) ; when ( IDENT_8 . METHOD_3 ( eq ( c ) ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_9 . METHOD_4 ( any ( org . IDENT_0 . model . IDENT_10 . class ) ) ) . thenReturn ( pool ) ; org . IDENT_0 . policy . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = mock ( org . IDENT_0 . policy . IDENT_11 . IDENT_12 . IDENT_13 . class ) ; org . IDENT_0 . policy . IDENT_15 result = new org . IDENT_0 . policy . METHOD_5 ( ) ; when ( IDENT_14 . METHOD_6 ( ) ) . thenReturn ( result ) ; int IDENT_16 = manager . METHOD_7 ( c ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , times ( 1 ) ) . METHOD_8 ( any ( java . util . List . class ) ) ; } METHOD_7 ( org . IDENT_0 . model . IDENT_1 ) { return METHOD_7 ( consumer , true ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_16 )