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