METHOD_0 ( ) { com . IDENT_0 . atlas . spi . IDENT_1 id = com . IDENT_0 . atlas . spi . IDENT_1 . root ( ) . METHOD_1 ( "test" , STRING_0 ) . METHOD_1 ( STRING_1 , STRING_2 ) ; com . IDENT_0 . atlas . IDENT_2 . IDENT_3 . IDENT_4 t = new com . IDENT_0 . atlas . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; t . setName ( STRING_3 ) ; t . METHOD_3 ( INT_0 ) ; IDENT_2 . store ( id , t ) ; com . IDENT_0 . atlas . spi . IDENT_5 < com . IDENT_0 . atlas . IDENT_2 . IDENT_3 . METHOD_2 > IDENT_6 = IDENT_2 . get ( id , com . IDENT_0 . atlas . IDENT_2 . IDENT_3 . METHOD_2 . class , IDENT_7 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } get ( com . IDENT_0 . atlas . spi . IDENT_1 , java . lang . Class , com . IDENT_0 . atlas . spi . IDENT_2 . IDENT_7 ) { java . beans . IDENT_9 [ ] IDENT_10 = org . apache . commons . IDENT_11 . IDENT_12 . METHOD_4 ( type ) ; T bean ; try { bean = type . newInstance ( ) ; } catch ( java . lang . Exception e ) { throw new java . lang . IllegalStateException ( ( STRING_4 + ( type . getName ( ) ) ) , e ) ; } for ( java . beans . IDENT_9 IDENT_13 : IDENT_10 ) { if ( ( IDENT_13 . METHOD_5 ( ) ) != null ) { java . lang . String IDENT_14 = IDENT_15 . IDENT_16 . to ( IDENT_15 . IDENT_17 , IDENT_13 . getName ( ) ) ; java . lang . String IDENT_18 = get ( id , IDENT_14 ) . METHOD_6 ( ( ( java . lang . String ) ( null ) ) ) ; java . lang . Class < ? > IDENT_19 = IDENT_13 . METHOD_7 ( ) ; final java . lang . Object val ; if ( IDENT_18 != null ) { if ( ( java . lang . String . class . equals ( IDENT_19 ) ) || ( com . google . common . IDENT_20 . IDENT_21 . METHOD_8 ( ) . contains ( IDENT_19 ) ) ) { val = com . IDENT_0 . atlas . IDENT_2 . IDENT_22 . mapper . METHOD_9 ( IDENT_18 , IDENT_19 ) ; } else { try { val = com . IDENT_0 . atlas . IDENT_2 . IDENT_22 . mapper . METHOD_10 ( IDENT_18 , IDENT_13 . METHOD_7 ( ) ) ; } catch ( java . io . IOException e ) { throw new java . lang . IllegalStateException ( e . getMessage ( ) ) ; } } } else { switch ( IDENT_23 ) { case IDENT_24 : val = null ; break ; case IDENT_8 : return com . IDENT_0 . atlas . spi . IDENT_5 . METHOD_11 ( ) ; default : throw new java . lang . METHOD_12 ( STRING_5 ) ; } } try { IDENT_13 . METHOD_5 ( ) . invoke ( bean , val ) ; } catch ( java . lang . Exception e ) { throw new java . lang . IllegalStateException ( ( ( ( STRING_6 + ( IDENT_13 . getName ( ) ) ) + STRING_7 ) + bean ) , e ) ; } } } return com . IDENT_0 . atlas . spi . IDENT_5 . METHOD_13 ( bean ) ; }
org . junit . Assert . assertThat ( t , org . hamcrest . CoreMatchers . equalTo ( IDENT_6 . getValue ( ) ) )