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 . osgi . service . IDENT_0 . IDENT_1 IDENT_5 = org . mockito . Mockito . mock ( org . osgi . service . IDENT_0 . IDENT_1 . class ) ; org . mockito . Mockito . when ( IDENT_5 . getType ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_5 . getName ( ) ) . thenReturn ( STRING_1 ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_1 ( null ) ) . thenReturn ( new org . osgi . service . IDENT_0 . IDENT_3 [ ] { IDENT_2 , IDENT_5 } ) ; java . lang . String [ ] IDENT_7 = IDENT_8 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . osgi . service . IDENT_0 . IDENT_3 [ ] IDENT_9 = null ; try { IDENT_9 = IDENT_6 . METHOD_1 ( null ) ; } catch ( org . osgi . framework . IDENT_10 e ) { } if ( IDENT_9 == null ) { return null ; } return METHOD_3 ( IDENT_9 , IDENT_3 . IDENT_4 ) ; }
org . junit . Assert . assertArrayEquals ( new java . lang . String [ ] { STRING_0 , STRING_1 } , IDENT_7 )