METHOD_0 ( ) { com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_2 IDENT_3 = new com . IDENT_0 . cloud . IDENT_1 . metadata . model . METHOD_1 ( false ) ; IDENT_3 . setName ( STRING_0 ) ; IDENT_3 . METHOD_2 ( IDENT_4 . IDENT_5 ) ; IDENT_3 . METHOD_3 ( STRING_1 ) ; IDENT_3 . METHOD_4 ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_7 . METHOD_5 ( ) ) ; com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_8 . METHOD_6 ( IDENT_3 ) ; java . lang . String IDENT_9 = STRING_2 ; com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_10 entity = METHOD_7 ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_8 , IDENT_9 ) ; java . lang . String IDENT_11 = com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_12 . create ( entity , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . context ) ; com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_10 IDENT_13 = METHOD_8 ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_14 , IDENT_15 . IDENT_16 . IDENT_17 . name ( ) , IDENT_11 ) ; com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_10 IDENT_18 = ( ( com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_10 ) ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_12 . get ( IDENT_13 , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . context ) ) ) ; IDENT_18 . METHOD_9 ( STRING_3 , STRING_4 ) ; com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_12 . METHOD_10 ( IDENT_18 , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . context ) ; IDENT_18 = ( ( com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_10 ) ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . IDENT_12 . get ( IDENT_13 , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_6 . context ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( java . lang . String ) { com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_19 IDENT_20 = METHOD_12 ( ) . METHOD_13 ( IDENT_21 ) ; com . IDENT_0 . cloud . IDENT_1 . utils . IDENT_22 . METHOD_14 ( ( IDENT_20 != null ) , STRING_5 , IDENT_21 ) ; com . IDENT_0 . cloud . IDENT_1 . utils . IDENT_22 . METHOD_15 ( IDENT_20 . METHOD_16 ( ) , STRING_6 ) ; com . mongodb . IDENT_23 IDENT_24 = null ; java . lang . String IDENT_25 = null ; if ( IDENT_20 . METHOD_17 ( ) ) { IDENT_25 = IDENT_20 . METHOD_16 ( ) ; IDENT_24 = IDENT_26 ; } else { IDENT_25 = com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_19 . IDENT_27 ; IDENT_24 = IDENT_26 ; IDENT_25 = IDENT_20 . METHOD_18 ( ) ; } if ( IDENT_24 == null ) { return java . util . Collections . IDENT_28 ; } com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_19 . IDENT_29 IDENT_30 = IDENT_20 . METHOD_19 ( ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_19 . IDENT_4 IDENT_31 = IDENT_20 . METHOD_20 ( ) ; com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_32 . IDENT_33 handler = com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_34 . impl . IDENT_32 . IDENT_35 . METHOD_21 ( IDENT_31 ) ; java . util . List < java . lang . Object > result = java . util . Collections . IDENT_28 ; if ( IDENT_24 . METHOD_22 ( IDENT_25 ) ) { if ( IDENT_30 == ( com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_19 . IDENT_29 . IDENT_36 ) ) { java . lang . Object IDENT_37 = IDENT_24 . get ( IDENT_25 ) ; if ( ! ( IDENT_37 instanceof com . mongodb . IDENT_38 ) ) { result = new java . util . ArrayList < java . lang . Object > ( 1 ) ; java . lang . Object value = handler . read ( this , IDENT_37 , IDENT_20 ) ; METHOD_23 ( result , value ) ; } } else { java . util . List < java . lang . Object > IDENT_39 = null ; if ( ( IDENT_24 . get ( IDENT_25 ) ) instanceof java . util . List ) { IDENT_39 = ( ( java . util . List < java . lang . Object > ) ( IDENT_24 . get ( IDENT_25 ) ) ) ; } else if ( ( IDENT_24 . get ( IDENT_25 ) ) != null ) { IDENT_39 = new java . util . ArrayList < java . lang . Object > ( ) ; IDENT_39 . add ( IDENT_24 . get ( IDENT_25 ) ) ; } if ( IDENT_39 != null ) { result = new java . util . ArrayList < java . lang . Object > ( ) ; for ( java . lang . Object IDENT_37 : IDENT_39 ) { java . lang . Object value = handler . read ( this , IDENT_37 , IDENT_20 ) ; METHOD_23 ( result , value ) ; } } } } return result ; }
org . junit . Assert . assertEquals ( ( ( IDENT_18 . METHOD_11 ( "name" ) . get ( 0 ) . toString ( ) ) + ( IDENT_18 . METHOD_11 ( STRING_3 ) . get ( 0 ) . toString ( ) ) ) , IDENT_18 . METHOD_11 ( STRING_0 ) . get ( 0 ) )