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 . operation . 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 . operation . IDENT_5 response = new ddf . catalog . operation . impl . METHOD_6 ( null , null ) ; ddf . catalog . data . IDENT_9 content = framework . transform ( response , STRING_0 , new java . util . HashMap < java . lang . String , java . io . IDENT_10 > ( ) ) ; "<AssertPlaceHolder>" ; } transform ( org . apache . camel . Message , java . lang . String , java . lang . String , ddf . IDENT_11 . IDENT_12 ) { javax . IDENT_13 . IDENT_14 IDENT_15 = null ; try ( java . io . InputStream message = in . METHOD_7 ( java . io . InputStream . class ) ; org . codice . ddf . platform . util . IDENT_16 IDENT_17 = 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_18 . METHOD_10 ( message , IDENT_17 ) ; java . lang . String IDENT_19 = METHOD_11 ( in , ddf . camel . component . catalog . IDENT_20 . IDENT_21 . IDENT_22 ) ; if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_19 ) ) { java . util . Optional < java . lang . String > IDENT_23 = METHOD_13 ( IDENT_17 . METHOD_14 ( ) . METHOD_15 ( ) , IDENT_19 ) ; if ( IDENT_23 . METHOD_16 ( ) ) { ddf . camel . component . catalog . IDENT_20 . IDENT_21 . LOGGER . trace ( STRING_2 , IDENT_23 . get ( ) , ddf . camel . component . catalog . IDENT_20 . IDENT_21 . IDENT_22 ) ; IDENT_15 = new javax . IDENT_13 . METHOD_17 ( IDENT_23 . get ( ) ) ; } } if ( IDENT_15 == null ) { if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_24 ) ) { if ( org . apache . commons . lang . StringUtils . METHOD_12 ( IDENT_25 ) ) { IDENT_15 = new javax . IDENT_13 . METHOD_17 ( ( ( ( ( IDENT_24 + STRING_3 ) + ( ddf . IDENT_11 . IDENT_12 . IDENT_26 ) ) + STRING_4 ) + IDENT_25 ) ) ; ddf . camel . component . catalog . IDENT_20 . IDENT_21 . LOGGER . trace ( STRING_5 , IDENT_15 ) ; } else { ddf . camel . component . catalog . IDENT_20 . IDENT_21 . LOGGER . trace ( STRING_6 , IDENT_24 ) ; IDENT_15 = new javax . IDENT_13 . METHOD_17 ( IDENT_24 ) ; } } else { ddf . camel . component . catalog . IDENT_20 . IDENT_21 . LOGGER . debug ( STRING_7 , ddf . camel . component . catalog . IDENT_20 . IDENT_21 . IDENT_27 ) ; IDENT_15 = new javax . IDENT_13 . METHOD_17 ( ddf . camel . component . catalog . IDENT_20 . IDENT_21 . IDENT_27 ) ; } } java . lang . String IDENT_28 = METHOD_11 ( in , ddf . camel . component . catalog . IDENT_20 . IDENT_21 . IDENT_29 ) ; return METHOD_18 ( IDENT_15 , mapper , IDENT_17 , IDENT_28 ) . METHOD_19 ( ( ) -> new ddf . catalog . transform . METHOD_9 ( java . lang . String . format ( STRING_8 , IDENT_24 , IDENT_12 . IDENT_26 , IDENT_25 ) ) ) ; } catch ( java . io . IOException e ) { throw new ddf . catalog . transform . METHOD_9 ( STRING_9 , e ) ; } }
org . junit . Assert . assertNotNull ( content )