METHOD_0 ( ) { final org . osgi . framework . IDENT_0 context = mock ( org . osgi . framework . IDENT_0 . class ) ; org . osgi . framework . IDENT_1 ref = mock ( org . osgi . framework . IDENT_1 . class ) ; org . osgi . framework . IDENT_1 [ ] IDENT_2 = new org . osgi . framework . IDENT_1 [ ] { ref } ; when ( ref . getProperty ( org . osgi . framework . Constants . IDENT_3 ) ) . thenReturn ( 0 ) ; when ( ref . getProperty ( IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_6 . IDENT_7 ) ; java . lang . Object IDENT_8 = new java . lang . Object ( ) ; when ( context . METHOD_1 ( ref ) ) . thenReturn ( IDENT_8 ) ; when ( context . METHOD_2 ( METHOD_3 ( java . lang . String . class ) , METHOD_4 ( java . lang . String . class ) ) ) . thenReturn ( IDENT_2 ) ; ddf . IDENT_9 . IDENT_4 matcher = new ddf . IDENT_9 . mapper . METHOD_5 ( ) { @ ddf . IDENT_9 . mapper . Override MOD_0 org . osgi . framework . IDENT_0 METHOD_6 ( ) { return context ; } } ; java . util . List < java . lang . Object > matches = matcher . METHOD_7 ( java . lang . Object . class , new javax . IDENT_10 . METHOD_8 ( javax . ws . rs . core . IDENT_6 . IDENT_7 ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return map . size ( ) ; }
org . junit . Assert . assertThat ( matches . size ( ) , org . hamcrest . Matchers . is ( 1 ) )