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