METHOD_0 ( ) { java . lang . Object result = mock ( java . lang . Object . class ) ; java . lang . String filter = STRING_0 ; org . osgi . framework . IDENT_0 [ ] IDENT_1 = new org . osgi . framework . IDENT_0 [ ] { mock ( org . osgi . framework . IDENT_0 . class ) , mock ( org . osgi . framework . IDENT_0 . class ) } ; when ( IDENT_2 . METHOD_1 ( java . lang . Object . class . getName ( ) , filter ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_2 . METHOD_2 ( IDENT_1 [ 0 ] ) ) . thenReturn ( result ) ; java . lang . Object IDENT_3 = org . IDENT_4 . service . util . internal . utils . IDENT_5 . METHOD_2 ( IDENT_2 , java . lang . Object . class , filter , ( ( java . util . List < org . osgi . framework . IDENT_0 < ? > > ) ( mock ( java . util . List . class ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . osgi . framework . IDENT_6 , java . lang . Class , java . lang . String , java . util . List ) { try { org . osgi . framework . IDENT_0 < ? > [ ] IDENT_1 = IDENT_2 . METHOD_1 ( IDENT_7 . getName ( ) , filter ) ; if ( IDENT_1 == null ) throw new java . lang . METHOD_3 ( ( ( ( STRING_1 + ( IDENT_7 . getName ( ) ) ) + STRING_2 ) + filter ) ) ; if ( IDENT_8 != null ) IDENT_8 . add ( IDENT_1 [ 0 ] ) ; return IDENT_7 . METHOD_4 ( IDENT_2 . METHOD_2 ( IDENT_1 [ 0 ] ) ) ; } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( ( ( ( STRING_3 + ( IDENT_7 . getName ( ) ) ) + STRING_2 ) + filter ) , e ) ; } }
org . junit . Assert . assertEquals ( result , IDENT_3 )