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