METHOD_0 ( ) { org . osgi . framework . IDENT_0 context = mock ( org . osgi . framework . IDENT_0 . class ) ; when ( context . getProperty ( org . osgi . framework . Constants . IDENT_1 ) ) . thenReturn ( STRING_0 ) ; org . apache . IDENT_2 . IDENT_3 . IDENT_4 logger = mock ( org . apache . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; org . osgi . framework . IDENT_5 IDENT_6 = mock ( org . osgi . framework . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( STRING_1 ) ; when ( context . METHOD_2 ( 0 ) ) . thenReturn ( IDENT_6 ) ; org . osgi . framework . IDENT_7 IDENT_8 = mock ( org . osgi . framework . IDENT_7 . class ) ; org . osgi . service . IDENT_9 . IDENT_10 IDENT_11 = mock ( org . osgi . service . IDENT_9 . IDENT_10 . class ) ; when ( context . METHOD_3 ( org . osgi . service . IDENT_9 . IDENT_10 . class . getName ( ) ) ) . thenReturn ( IDENT_8 ) ; when ( context . METHOD_4 ( IDENT_8 ) ) . thenReturn ( IDENT_11 ) ; org . osgi . framework . IDENT_7 IDENT_12 = mock ( org . osgi . framework . IDENT_7 . class ) ; org . osgi . service . IDENT_13 . IDENT_14 IDENT_15 = mock ( org . osgi . service . IDENT_13 . IDENT_14 . class ) ; when ( context . METHOD_3 ( org . osgi . service . IDENT_13 . IDENT_14 . class . getName ( ) ) ) . thenReturn ( IDENT_12 ) ; when ( context . METHOD_4 ( IDENT_12 ) ) . thenReturn ( IDENT_15 ) ; org . apache . IDENT_2 . IDENT_3 . IDENT_16 . IDENT_17 IDENT_16 = mock ( org . apache . IDENT_2 . IDENT_3 . IDENT_16 . IDENT_17 . class ) ; org . apache . IDENT_2 . IDENT_3 . IDENT_16 . IDENT_18 IDENT_19 = new org . apache . IDENT_2 . IDENT_3 . IDENT_16 . METHOD_5 ( context , IDENT_16 , logger ) ; org . apache . IDENT_2 . IDENT_3 . framework . IDENT_20 handler = new org . apache . IDENT_2 . IDENT_3 . framework . METHOD_6 ( IDENT_19 , new org . apache . IDENT_2 . IDENT_3 . framework . METHOD_7 ( ) ) ; handler . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; handler . close ( ) ; verify ( context ) . METHOD_9 ( IDENT_8 ) ; verify ( context ) . METHOD_9 ( IDENT_12 ) ; } METHOD_10 ( ) { return IDENT_21 ; }
org . junit . Assert . assertNotNull ( handler . METHOD_10 ( ) )