METHOD_0 ( ) { org . osgi . service . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . osgi . service . IDENT_0 . IDENT_1 . class ) ; org . osgi . framework . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . osgi . framework . IDENT_3 . class ) ; org . osgi . framework . IDENT_3 IDENT_5 = org . mockito . Mockito . mock ( org . osgi . framework . IDENT_3 . class ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( org . osgi . framework . IDENT_6 . METHOD_2 ( STRING_0 ) ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( IDENT_5 ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_4 ( ) ) . thenReturn ( java . lang . Long . valueOf ( 2 ) ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_5 ( ) ) . thenReturn ( new org . osgi . framework . IDENT_3 [ ] { IDENT_4 } ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_4 ( ) ) . thenReturn ( java . lang . Long . valueOf ( 4 ) ) ; org . mockito . Mockito . when ( admin . METHOD_6 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( new org . osgi . service . IDENT_0 . IDENT_1 [ ] { IDENT_2 } ) ; long [ ] IDENT_7 = IDENT_8 . METHOD_5 ( "test" , STRING_0 , 2 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , java . lang . String , long ) { if ( ( IDENT_9 == null ) || ( ( IDENT_9 . length ( ) ) < 1 ) ) { throw new java . io . IOException ( STRING_1 ) ; } org . osgi . service . IDENT_0 . IDENT_1 [ ] IDENT_10 = IDENT_11 . METHOD_6 ( IDENT_9 ) ; if ( IDENT_10 != null ) { org . osgi . framework . IDENT_6 IDENT_12 = org . osgi . framework . IDENT_6 . METHOD_2 ( version ) ; for ( org . osgi . service . IDENT_0 . IDENT_1 IDENT_13 : IDENT_10 ) { if ( ( IDENT_13 . METHOD_1 ( ) . equals ( IDENT_12 ) ) && ( ( IDENT_13 . METHOD_3 ( ) . METHOD_4 ( ) ) == IDENT_5 ) ) { org . osgi . framework . IDENT_3 [ ] IDENT_14 = IDENT_13 . METHOD_5 ( ) ; if ( IDENT_14 != null ) { return org . apache . IDENT_15 . IDENT_16 . util . IDENT_17 . METHOD_7 ( IDENT_14 ) ; } } } } return null ; }
org . junit . Assert . assertArrayEquals ( new long [ ] { 4 } , IDENT_7 )