METHOD_0 ( ) { org . apache . IDENT_0 . conf . IDENT_1 IDENT_2 = new org . apache . IDENT_0 . conf . METHOD_1 ( ) . METHOD_2 ( false ) . METHOD_3 ( false ) . METHOD_4 ( new java . lang . String [ ] { STRING_0 } ) . METHOD_5 ( true ) ; org . apache . IDENT_0 . server . conf . IDENT_3 conf = new org . apache . IDENT_0 . server . conf . METHOD_6 ( IDENT_2 ) ; org . apache . IDENT_0 . IDENT_4 . IDENT_5 IDENT_6 = org . IDENT_7 . api . mockito . IDENT_8 . mock ( org . apache . IDENT_0 . IDENT_4 . IDENT_5 . class ) ; METHOD_7 ( org . apache . IDENT_0 . IDENT_4 . IDENT_5 . class ) . METHOD_8 ( any ( org . apache . IDENT_0 . conf . METHOD_1 . class ) , any ( org . apache . IDENT_0 . IDENT_9 . IDENT_10 . class ) ) . thenReturn ( IDENT_6 ) ; org . apache . IDENT_0 . common . component . IDENT_11 IDENT_12 = org . apache . IDENT_0 . server . IDENT_13 . METHOD_9 ( conf ) ; "<AssertPlaceHolder>" ; IDENT_12 . start ( ) ; verify ( IDENT_6 , times ( 1 ) ) . start ( ) ; IDENT_12 . METHOD_10 ( ) ; IDENT_12 . close ( ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_11 ( ) ; } METHOD_12 ( ) { return components . size ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_12 . METHOD_12 ( ) )