METHOD_0 ( ) { java . lang . String IDENT_0 = IDENT_1 . METHOD_1 ( ) . create ( IDENT_2 , new org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . METHOD_2 ( ) . setId ( STRING_0 ) , new org . IDENT_3 . commons . datastore . core . METHOD_3 ( ) , IDENT_6 ) . first ( ) . getId ( ) ; org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . List < org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . IDENT_7 > IDENT_8 = new org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . ArrayList ( ) ; IDENT_8 . add ( new org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . METHOD_4 ( STRING_1 , STRING_1 , "" , METHOD_4 . IDENT_9 . IDENT_10 , "" , true , false , org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . Collections . emptyList ( ) , 0 , "" , "" , null , org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . Collections . METHOD_5 ( ) ) ) ; org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . IDENT_11 IDENT_12 = IDENT_1 . METHOD_6 ( ) . METHOD_7 ( IDENT_2 , STRING_2 , STRING_2 , true , false , "" , null , IDENT_8 , IDENT_6 ) . first ( ) ; org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . HashMap < java . lang . String , java . lang . Object > IDENT_13 = new org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . HashMap ( ) ; IDENT_13 . put ( STRING_1 , STRING_3 ) ; IDENT_1 . METHOD_1 ( ) . update ( IDENT_2 , IDENT_0 , new org . IDENT_3 . commons . datastore . core . METHOD_8 ( ) . append ( IDENT_14 . IDENT_15 . IDENT_16 . key ( ) , org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . Collections . singletonList ( new org . IDENT_3 . commons . datastore . core . METHOD_8 ( ) . append ( IDENT_17 . IDENT_18 , STRING_4 ) . append ( IDENT_17 . IDENT_19 , IDENT_12 . getId ( ) ) . append ( IDENT_17 . IDENT_20 , IDENT_13 ) ) ) , org . IDENT_3 . commons . datastore . core . METHOD_3 . empty ( ) , IDENT_6 ) ; org . IDENT_3 . commons . datastore . core . IDENT_21 < org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . METHOD_2 > IDENT_22 = IDENT_1 . METHOD_1 ( ) . get ( IDENT_2 , IDENT_0 , new org . IDENT_3 . commons . datastore . core . METHOD_3 ( org . IDENT_3 . commons . datastore . core . METHOD_3 . IDENT_23 , IDENT_24 . IDENT_15 . IDENT_16 . key ( ) ) , IDENT_6 ) ; "<AssertPlaceHolder>" ; IDENT_13 . put ( STRING_1 , STRING_5 ) ; IDENT_25 . expect ( org . IDENT_3 . IDENT_4 . catalog . exceptions . IDENT_26 . class ) ; IDENT_25 . METHOD_9 ( STRING_6 ) ; IDENT_1 . METHOD_1 ( ) . update ( IDENT_2 , IDENT_0 , new org . IDENT_3 . commons . datastore . core . METHOD_8 ( ) . append ( IDENT_14 . IDENT_15 . IDENT_16 . key ( ) , org . IDENT_3 . IDENT_4 . catalog . IDENT_5 . Collections . singletonList ( new org . IDENT_3 . commons . datastore . core . METHOD_8 ( ) . append ( IDENT_17 . IDENT_18 , STRING_7 ) . append ( IDENT_17 . IDENT_19 , IDENT_12 . getId ( ) ) . append ( IDENT_17 . IDENT_20 , IDENT_13 ) ) ) , org . IDENT_3 . commons . datastore . core . METHOD_3 . empty ( ) , IDENT_6 ) ; } METHOD_10 ( ) { return IDENT_27 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_22 . first ( ) . METHOD_10 ( ) . size ( ) )