METHOD_0 ( ) { IDENT_0 . METHOD_1 ( new org . IDENT_1 . METHOD_2 ( ) { { METHOD_3 ( IDENT_2 ) . METHOD_4 ( with ( any ( org . apache . IDENT_3 . IDENT_4 . IDENT_5 . impl . Long . class ) ) ) ; METHOD_5 ( METHOD_6 ( null ) ) ; } } ) ; try { metadata . METHOD_7 ( ( - 10 ) ) ; } catch ( java . lang . Exception ex ) { "<AssertPlaceHolder>" ; } } METHOD_7 ( long ) { org . osgi . framework . IDENT_6 IDENT_7 = IDENT_8 . METHOD_4 ( IDENT_9 ) ; if ( null == IDENT_7 ) throw new java . lang . IllegalArgumentException ( ( STRING_0 + IDENT_9 ) ) ; java . lang . String filter = ( ( ( STRING_1 + ( IDENT_7 . METHOD_8 ( ) ) ) + STRING_2 ) + ( IDENT_7 . METHOD_9 ( ) ) ) + STRING_3 ; org . osgi . framework . IDENT_10 [ ] IDENT_11 = null ; try { IDENT_11 = IDENT_8 . METHOD_10 ( org . osgi . service . IDENT_5 . container . IDENT_12 . class . getName ( ) , filter ) ; } catch ( org . osgi . framework . IDENT_13 e ) { throw new java . lang . RuntimeException ( e ) ; } if ( ( IDENT_11 == null ) || ( ( IDENT_11 . length ) < 1 ) ) return - 1 ; else return ( ( java . lang . Long ) ( IDENT_11 [ 0 ] . getProperty ( org . osgi . framework . Constants . IDENT_14 ) ) ) ; }
org . junit . Assert . assertTrue ( ( ex instanceof java . lang . IllegalArgumentException ) )