METHOD_0 ( ) { org . osgi . framework . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . osgi . framework . IDENT_0 . class ) ; net . IDENT_2 . IDENT_3 . api . utils . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( net . IDENT_2 . IDENT_3 . api . utils . IDENT_4 . class ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; net . IDENT_2 . IDENT_3 . api . factory . IDENT_6 registry = net . IDENT_2 . IDENT_3 . api . IDENT_7 . IDENT_8 . METHOD_2 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( net . IDENT_2 . IDENT_3 . api . utils . IDENT_4 ) { net . IDENT_2 . IDENT_3 . api . factory . IDENT_6 result = null ; final java . util . logging . IDENT_9 logger = java . util . logging . IDENT_9 . METHOD_3 ( net . IDENT_2 . IDENT_3 . api . IDENT_7 . IDENT_8 . class . getName ( ) ) ; org . osgi . framework . IDENT_0 IDENT_1 = IDENT_5 . METHOD_1 ( ) ; if ( IDENT_1 != null ) { logger . info ( STRING_0 ) ; final org . osgi . framework . IDENT_10 < net . IDENT_2 . IDENT_3 . api . factory . IDENT_6 > reference = IDENT_1 . METHOD_4 ( net . IDENT_2 . IDENT_3 . api . factory . IDENT_6 . class ) ; if ( reference != null ) { logger . METHOD_5 ( STRING_1 ) ; result = IDENT_1 . METHOD_6 ( reference ) ; } } else { logger . info ( STRING_2 ) ; } return result ; }
org . junit . Assert . assertNull ( registry )