METHOD_0 ( ) { org . osgi . framework . IDENT_0 context = mock ( org . osgi . framework . IDENT_0 . class ) ; org . osgi . framework . IDENT_1 reference = mock ( org . osgi . framework . IDENT_1 . class ) ; when ( context . METHOD_1 ( anyString ( ) , anyString ( ) ) ) . thenReturn ( new org . osgi . framework . IDENT_1 [ ] { reference } ) ; org . osgi . framework . IDENT_1 result = org . apache . IDENT_2 . IDENT_3 . util . IDENT_4 . METHOD_2 ( context , INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . osgi . framework . IDENT_0 , long ) { if ( IDENT_5 == null ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } org . osgi . framework . IDENT_1 result = null ; try { org . osgi . framework . IDENT_1 [ ] IDENT_6 = IDENT_5 . METHOD_1 ( null , ( ( ( ( STRING_1 + ( org . osgi . framework . Constants . IDENT_7 ) ) + STRING_2 ) + IDENT_8 ) + STRING_3 ) ) ; if ( ( IDENT_6 == null ) || ( ( IDENT_6 . length ) < 1 ) ) { throw new java . io . IOException ( ( ( STRING_4 + IDENT_8 ) + STRING_5 ) ) ; } else { result = IDENT_6 [ 0 ] ; } } catch ( org . osgi . framework . IDENT_9 e ) { java . io . IOException IDENT_10 = new java . io . IOException ( STRING_6 ) ; IDENT_10 . METHOD_3 ( e ) ; throw IDENT_10 ; } return result ; }
org . junit . Assert . assertNotNull ( result )