METHOD_0 ( ) { info . IDENT_0 . IDENT_1 . plugin . IDENT_2 . IDENT_3 IDENT_4 = new info . IDENT_0 . IDENT_1 . plugin . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . item = new info . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_6 . METHOD_2 ( "test" ) ; info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_7 . IDENT_8 < info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_9 . IDENT_10 < java . lang . String > > IDENT_11 = mock ( info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_7 . IDENT_8 . class ) ; java . util . List < info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_9 . IDENT_10 < java . lang . String > > IDENT_12 = new java . util . ArrayList ( ) ; METHOD_3 ( new org . mockito . IDENT_13 . IDENT_14 < java . lang . IDENT_15 > ( ) { public info . IDENT_0 . IDENT_1 . plugin . IDENT_2 . IDENT_15 METHOD_4 ( org . mockito . IDENT_16 . IDENT_17 IDENT_16 ) { java . lang . Object [ ] args = IDENT_16 . METHOD_5 ( ) ; IDENT_4 . item = ( ( info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_9 . IDENT_10 < java . lang . String > ) ( args [ 0 ] ) ) ; IDENT_12 . add ( IDENT_4 . item ) ; return null ; } } ) . when ( IDENT_11 ) . add ( any ( info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_9 . IDENT_10 . class ) ) ; info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_18 . IDENT_19 plugin = new info . IDENT_0 . IDENT_1 . plugin . IDENT_2 . METHOD_6 ( IDENT_11 ) ; plugin . load ( ) ; "<AssertPlaceHolder>" ; info . IDENT_0 . IDENT_1 . IDENT_5 . interfaces . IDENT_9 . IDENT_10 < java . lang . String > item = IDENT_12 . get ( 0 ) ; item . METHOD_7 ( ) ; METHOD_8 ( IDENT_11 ) ; } size ( ) { return template . size ( ) ; }
org . junit . Assert . assertEquals ( IDENT_12 . size ( ) , 1 )