METHOD_0 ( ) { org . osgi . service . IDENT_0 . IDENT_1 admin = mock ( org . osgi . service . IDENT_0 . IDENT_1 . class ) ; java . lang . String IDENT_2 = STRING_0 ; org . osgi . service . IDENT_0 . Configuration config = mock ( org . osgi . service . IDENT_0 . Configuration . class ) ; when ( admin . METHOD_1 ( IDENT_2 , null ) ) . thenReturn ( config ) ; when ( config . METHOD_2 ( ) ) . thenReturn ( STRING_1 ) ; org . apache . IDENT_3 . IDENT_4 . IDENT_0 . IDENT_1 IDENT_5 = new org . apache . IDENT_3 . IDENT_4 . IDENT_0 . METHOD_3 ( admin ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { java . net . URL url = org . apache . IDENT_3 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . class . METHOD_4 ( ) . getResource ( IDENT_10 ) ; return url . METHOD_5 ( ) ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_5 . METHOD_2 ( IDENT_2 ) )