METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( org . codice . ddf . IDENT_1 . IDENT_2 . IDENT_3 . catalog . converter . IDENT_4 . IDENT_5 ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . transform ( any ( ddf . catalog . data . IDENT_7 . class ) , any ( java . util . Map . class ) ) ) . thenReturn ( new ddf . catalog . data . impl . METHOD_2 ( org . apache . commons . io . IDENT_8 . METHOD_3 ( METHOD_4 ( ) ) , new javax . IDENT_9 . METHOD_5 ( javax . ws . rs . core . IDENT_10 . IDENT_11 ) ) ) ; java . io . StringWriter IDENT_12 = new java . io . StringWriter ( ) ; com . IDENT_13 . IDENT_14 . io . IDENT_15 writer = new com . IDENT_13 . IDENT_14 . io . xml . METHOD_6 ( ) . METHOD_7 ( IDENT_12 ) ; org . codice . ddf . IDENT_1 . IDENT_2 . IDENT_3 . catalog . converter . IDENT_16 provider = new org . codice . ddf . IDENT_1 . IDENT_2 . IDENT_3 . catalog . converter . METHOD_8 ( IDENT_0 , null ) ; com . IDENT_13 . IDENT_14 . IDENT_17 . IDENT_18 context = new com . IDENT_13 . IDENT_14 . core . METHOD_9 ( writer , null , null ) ; context . put ( IDENT_19 . IDENT_20 , org . codice . ddf . IDENT_1 . IDENT_2 . IDENT_3 . catalog . converter . IDENT_4 . IDENT_5 ) ; org . mockito . IDENT_21 < java . lang . String > IDENT_22 = org . mockito . IDENT_21 . METHOD_10 ( java . lang . String . class ) ; provider . METHOD_11 ( METHOD_12 ( ) , writer , context ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( IDENT_22 . METHOD_13 ( ) ) ; java . lang . String IDENT_23 = IDENT_22 . getValue ( ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; }
org . junit . Assert . assertThat ( IDENT_23 , org . hamcrest . core . Is . is ( org . codice . ddf . IDENT_1 . IDENT_2 . IDENT_3 . catalog . converter . IDENT_4 . IDENT_5 ) )