METHOD_0 ( ) { doReturn ( ( ( org . apache . IDENT_0 . hc . api . Result ) ( null ) ) ) . when ( IDENT_1 ) . METHOD_1 ( org . mockito . Matchers . < org . osgi . framework . IDENT_2 > any ( ) , org . mockito . Matchers . < java . util . Set < java . lang . String > > any ( ) ) ; java . lang . String [ ] IDENT_3 = new java . lang . String [ ] { STRING_0 } ; IDENT_1 . METHOD_2 ( IDENT_3 ) ; java . util . List < org . apache . IDENT_0 . hc . api . IDENT_4 . IDENT_5 > IDENT_6 = new java . util . IDENT_7 < org . apache . IDENT_0 . hc . api . IDENT_4 . IDENT_5 > ( ) ; IDENT_6 . add ( METHOD_3 ( STRING_1 , IDENT_3 , new org . apache . IDENT_0 . hc . api . Result ( Result . Status . IDENT_8 , STRING_2 ) ) ) ; IDENT_6 . add ( METHOD_3 ( STRING_3 , IDENT_3 , new org . apache . IDENT_0 . hc . api . Result ( Result . Status . IDENT_9 , STRING_4 ) ) ) ; when ( IDENT_10 . execute ( any ( org . apache . IDENT_0 . hc . api . IDENT_4 . IDENT_11 . class ) , any ( org . apache . IDENT_0 . hc . api . IDENT_4 . IDENT_12 . class ) ) ) . thenReturn ( IDENT_6 ) ; org . apache . IDENT_0 . hc . api . Result result = IDENT_1 . execute ( ) ; verify ( IDENT_10 , times ( 1 ) ) . execute ( METHOD_4 ( METHOD_5 ( IDENT_3 ) ) , METHOD_4 ( IDENT_13 ) ) ; "<AssertPlaceHolder>" ; } getStatus ( ) { return new org . apache . IDENT_0 . IDENT_14 . IDENT_15 . Status ( ) { final boolean IDENT_16 = org . apache . IDENT_0 . IDENT_14 . IDENT_15 . internal . IDENT_17 . IDENT_18 . this . IDENT_16 ; final java . lang . String IDENT_19 = org . apache . IDENT_0 . IDENT_14 . IDENT_15 . internal . IDENT_17 . IDENT_18 . this . IDENT_19 ; final org . apache . IDENT_0 . IDENT_14 . IDENT_15 . internal . IDENT_17 . Throwable IDENT_20 = org . apache . IDENT_0 . IDENT_14 . IDENT_15 . internal . IDENT_17 . IDENT_18 . this . IDENT_20 ; public boolean METHOD_6 ( ) { return this . IDENT_16 ; } public java . lang . String getMessage ( ) { return this . IDENT_19 ; } public org . apache . IDENT_0 . IDENT_14 . IDENT_15 . internal . IDENT_17 . Throwable METHOD_7 ( ) { return this . IDENT_20 ; } } ; }
org . junit . Assert . assertEquals ( Result . Status . IDENT_9 , result . getStatus ( ) )