METHOD_0 ( ) { org . osgi . framework . IDENT_0 context = mock ( org . osgi . framework . IDENT_0 . class ) ; ddf . catalog . transform . IDENT_1 IDENT_2 = mock ( ddf . catalog . transform . IDENT_1 . class ) ; org . osgi . framework . IDENT_3 reference = mock ( org . osgi . framework . IDENT_3 . class ) ; org . osgi . framework . IDENT_3 [ ] IDENT_4 = new org . osgi . framework . IDENT_3 [ ] { reference } ; when ( context . METHOD_1 ( anyString ( ) , anyString ( ) ) ) . thenReturn ( IDENT_4 ) ; when ( context . METHOD_2 ( METHOD_3 ( org . osgi . framework . IDENT_3 . class ) ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_2 . transform ( METHOD_3 ( ddf . catalog . data . IDENT_5 . class ) , METHOD_3 ( java . util . Map . class ) ) ) . thenReturn ( new ddf . catalog . data . impl . METHOD_4 ( null ) ) ; ddf . catalog . IDENT_6 framework = this . METHOD_5 ( provider , IDENT_7 , context , IDENT_8 , true ) ; ddf . catalog . data . impl . IDENT_9 IDENT_10 = new ddf . catalog . data . impl . METHOD_6 ( ) ; IDENT_10 . setId ( null ) ; ddf . catalog . data . IDENT_11 content = framework . transform ( IDENT_10 , STRING_0 , new java . util . HashMap < java . lang . String , java . io . IDENT_12 > ( ) ) ; "<AssertPlaceHolder>" ; } transform ( org . apache . camel . Message , java . lang . String , java . lang . String , ddf . IDENT_13 . IDENT_14 ) { javax . IDENT_15 . IDENT_16 IDENT_17 = null ; try ( java . io . InputStream message = in . METHOD_7 ( java . io . InputStream . class ) ; org . codice . ddf . platform . util . IDENT_18 IDENT_19 = new org . codice . ddf . platform . util . METHOD_8 ( ) ) { if ( message == null ) { throw new ddf . catalog . transform . METHOD_9 ( STRING_1 ) ; } org . apache . commons . io . IDENT_20 . METHOD_10 ( message , IDENT_19 ) ; java . lang . String IDENT_21 = METHOD_11 ( in , ddf . camel . component . catalog . IDENT_22 . IDENT_23 . IDENT_24 ) ; if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_21 ) ) { java . util . Optional < java . lang . String > IDENT_25 = METHOD_13 ( IDENT_19 . METHOD_14 ( ) . METHOD_15 ( ) , IDENT_21 ) ; if ( IDENT_25 . METHOD_16 ( ) ) { ddf . camel . component . catalog . IDENT_22 . IDENT_23 . LOGGER . trace ( STRING_2 , IDENT_25 . get ( ) , ddf . camel . component . catalog . IDENT_22 . IDENT_23 . IDENT_24 ) ; IDENT_17 = new javax . IDENT_15 . METHOD_17 ( IDENT_25 . get ( ) ) ; } } if ( IDENT_17 == null ) { if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_26 ) ) { if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_27 ) ) { IDENT_17 = new javax . IDENT_15 . METHOD_17 ( ( ( ( ( IDENT_26 + STRING_3 ) + ( ddf . IDENT_13 . IDENT_14 . IDENT_28 ) ) + STRING_4 ) + IDENT_27 ) ) ; ddf . camel . component . catalog . IDENT_22 . IDENT_23 . LOGGER . trace ( STRING_5 , IDENT_17 ) ; } else { ddf . camel . component . catalog . IDENT_22 . IDENT_23 . LOGGER . trace ( STRING_6 , IDENT_26 ) ; IDENT_17 = new javax . IDENT_15 . METHOD_17 ( IDENT_26 ) ; } } else { ddf . camel . component . catalog . IDENT_22 . IDENT_23 . LOGGER . debug ( STRING_7 , ddf . camel . component . catalog . IDENT_22 . IDENT_23 . IDENT_29 ) ; IDENT_17 = new javax . IDENT_15 . METHOD_17 ( ddf . camel . component . catalog . IDENT_22 . IDENT_23 . IDENT_29 ) ; } } java . lang . String IDENT_30 = METHOD_11 ( in , ddf . camel . component . catalog . IDENT_22 . IDENT_23 . IDENT_31 ) ; return METHOD_18 ( IDENT_17 , mapper , IDENT_19 , IDENT_30 ) . METHOD_19 ( ( ) -> new ddf . catalog . transform . METHOD_9 ( java . lang . String . format ( STRING_8 , IDENT_26 , IDENT_14 . IDENT_28 , IDENT_27 ) ) ) ; } catch ( java . io . IOException e ) { throw new ddf . catalog . transform . METHOD_9 ( STRING_9 , e ) ; } }
org . junit . Assert . assertNotNull ( content )