METHOD_0 ( ) { com . IDENT_0 . cloud . IDENT_1 . metadata . service . IDENT_2 IDENT_3 = com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_5 . METHOD_1 ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_6 ) . METHOD_2 ( ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_7 IDENT_8 = IDENT_3 . METHOD_3 ( STRING_0 ) ; com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . IDENT_9 entity = new com . IDENT_0 . cloud . IDENT_1 . dal . entity . impl . METHOD_4 ( IDENT_8 ) ; entity . setId ( STRING_1 ) ; entity . METHOD_5 ( com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_10 ) ; entity . METHOD_6 ( 0 ) ; entity . METHOD_7 ( STRING_2 , STRING_3 ) ; entity . METHOD_7 ( STRING_4 , STRING_5 ) ; com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_11 context = new com . IDENT_0 . cloud . IDENT_1 . dal . persistence . METHOD_8 ( IDENT_3 , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . METHOD_8 . IDENT_12 . IDENT_13 , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_14 . METHOD_9 ( ) , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_10 , com . IDENT_0 . cloud . IDENT_1 . dal . search . utils . TestUtils . METHOD_10 ( IDENT_15 ) ) ; com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_16 . create ( entity , context ) ; try { com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_4 . IDENT_16 . METHOD_11 ( entity , STRING_4 , context ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . IllegalArgumentException e ) { "<AssertPlaceHolder>" ; } } METHOD_11 ( com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_17 , java . lang . String , com . IDENT_0 . cloud . IDENT_1 . dal . persistence . METHOD_8 ) { com . IDENT_0 . cloud . IDENT_1 . dal . entity . IDENT_18 . impl . IDENT_19 IDENT_20 = METHOD_12 ( entity ) ; METHOD_13 ( IDENT_20 , IDENT_21 ) ; METHOD_14 ( context ) ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_22 field = IDENT_20 . METHOD_3 ( ) . METHOD_15 ( IDENT_21 ) ; if ( field instanceof com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_23 ) { java . lang . String expr = ( ( com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_23 ) ( field ) ) . METHOD_16 ( ) ; if ( ! ( com . IDENT_0 . cloud . IDENT_1 . utils . StringUtils . METHOD_17 ( expr ) ) ) { throw new com . IDENT_0 . cloud . IDENT_1 . dal . exception . METHOD_18 ( com . IDENT_0 . cloud . IDENT_1 . dal . exception . METHOD_18 . IDENT_24 . IDENT_25 , java . lang . String . format ( STRING_6 , IDENT_21 ) ) ; } } java . util . Date IDENT_26 = new java . util . Date ( ) ; IDENT_20 . METHOD_19 ( IDENT_26 ) ; boolean IDENT_27 = ( field . METHOD_20 ( ) ) == ( com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_22 . IDENT_28 . IDENT_29 ) ; if ( IDENT_27 ) { boolean IDENT_30 = IDENT_20 . METHOD_21 ( IDENT_21 ) ; com . IDENT_0 . cloud . IDENT_1 . utils . IDENT_31 . METHOD_22 ( ( ! IDENT_30 ) , STRING_7 ) ; } else { com . IDENT_0 . cloud . IDENT_1 . utils . IDENT_31 . METHOD_22 ( ( ! ( field . METHOD_23 ( ) ) ) , STRING_8 ) ; } METHOD_24 ( IDENT_20 , context , IDENT_21 ) ; com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_32 command = null ; com . IDENT_0 . cloud . IDENT_1 . metadata . model . IDENT_7 meta = IDENT_20 . METHOD_3 ( ) ; if ( meta . METHOD_25 ( ) ) { command = new com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_18 . impl . IDENT_33 . METHOD_26 ( IDENT_20 , IDENT_21 , helper ) ; } else { command = new com . IDENT_0 . cloud . IDENT_1 . dal . persistence . IDENT_18 . impl . root . METHOD_27 ( IDENT_20 , IDENT_21 ) ; } command . execute ( context ) ; }
org . junit . Assert . assertEquals ( e . getMessage ( ) , STRING_8 )