METHOD_0 ( ) { org . osgi . service . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . osgi . service . IDENT_0 . IDENT_1 . class ) ; org . mockito . Mockito . when ( IDENT_2 . getType ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_2 . getName ( ) ) . thenReturn ( STRING_0 ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_1 ( STRING_1 ) ) . thenReturn ( new org . osgi . service . IDENT_0 . IDENT_3 [ ] { IDENT_2 } ) ; java . lang . String [ ] IDENT_6 = IDENT_7 . METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { org . osgi . service . IDENT_0 . IDENT_3 [ ] IDENT_8 = null ; try { IDENT_8 = IDENT_5 . METHOD_1 ( filter ) ; } catch ( org . osgi . framework . IDENT_9 IDENT_10 ) { java . io . IOException IDENT_11 = new java . io . IOException ( ( STRING_2 + filter ) ) ; IDENT_11 . METHOD_3 ( IDENT_10 ) ; throw IDENT_11 ; } if ( IDENT_8 == null ) { return null ; } return METHOD_4 ( IDENT_8 , IDENT_3 . IDENT_4 ) ; }
org . junit . Assert . assertArrayEquals ( new java . lang . String [ ] { STRING_0 } , IDENT_6 )