METHOD_0 ( ) { com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_2 . IDENT_3 handler = new com . IDENT_0 . cloud . IDENT_1 . dal . entity . json . IDENT_2 . METHOD_1 ( ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_4 IDENT_5 = new com . IDENT_0 . cloud . IDENT_1 . metadata . model . METHOD_2 ( ) ; IDENT_5 . setName ( STRING_0 ) ; java . util . Date value = new java . util . Date ( ) ; org . IDENT_6 . jackson . IDENT_7 IDENT_8 = IDENT_9 . instance . METHOD_3 ( value . getTime ( ) ) ; java . util . Date IDENT_10 = ( ( java . util . Date ) ( handler . read ( null , IDENT_8 , IDENT_5 ) ) ) ; "<AssertPlaceHolder>" ; IDENT_8 = IDENT_9 . instance . METHOD_3 ( 1 ) ; handler . read ( null , IDENT_8 , IDENT_5 ) ; java . lang . String IDENT_11 = STRING_1 ; org . IDENT_6 . jackson . IDENT_7 IDENT_12 = IDENT_9 . instance . METHOD_4 ( IDENT_11 ) ; try { handler . read ( null , IDENT_12 , IDENT_5 ) ; junit . framework . Assert . fail ( ) ; } catch ( java . lang . IllegalArgumentException e ) { } } read ( com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_13 , java . lang . Object , com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_4 ) { com . IDENT_0 . cloud . IDENT_1 . utils . IDENT_14 . METHOD_5 ( IDENT_5 ) ; if ( value == null ) { return null ; } com . IDENT_0 . cloud . IDENT_1 . IDENT_15 . entity . impl . IDENT_16 IDENT_17 = null ; try { com . mongodb . IDENT_18 IDENT_19 = ( ( com . mongodb . IDENT_18 ) ( value ) ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_20 IDENT_21 = ( ( com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_20 ) ( IDENT_5 ) ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_22 IDENT_23 = IDENT_21 . METHOD_6 ( ) ; java . lang . String type = ( ( java . lang . String ) ( IDENT_19 . get ( IDENT_24 . IDENT_25 . METHOD_7 ( ) ) ) ) ; if ( ( ! ( com . IDENT_0 . cloud . IDENT_1 . utils . StringUtils . METHOD_8 ( type ) ) ) && ( ! ( type . equals ( IDENT_23 . getName ( ) ) ) ) ) { IDENT_23 = IDENT_23 . METHOD_9 ( ) . METHOD_10 ( type ) ; if ( IDENT_23 == null ) { IDENT_23 = IDENT_21 . METHOD_6 ( ) ; } } IDENT_17 = new com . IDENT_0 . cloud . IDENT_1 . IDENT_15 . entity . impl . METHOD_11 ( IDENT_23 , IDENT_19 ) ; } catch ( java . lang . IllegalArgumentException e ) { java . lang . String IDENT_26 = IDENT_27 . METHOD_10 ( ) . getName ( ) ; java . lang . String IDENT_28 = IDENT_27 . METHOD_12 ( ) ; java . lang . String IDENT_29 = IDENT_27 . METHOD_13 ( ) ; java . lang . String IDENT_30 = IDENT_5 . getName ( ) ; com . IDENT_0 . cloud . IDENT_1 . IDENT_15 . entity . impl . bson . IDENT_2 . IDENT_31 . logger . error ( STRING_2 , new java . lang . Object [ ] { IDENT_26 , IDENT_28 , IDENT_29 , IDENT_30 , e . getMessage ( ) } ) ; } return IDENT_17 ; }
org . junit . Assert . assertEquals ( value , IDENT_10 )