METHOD_0 ( ) { org . nuxeo . ecm . core . api . IDENT_0 doc = session . METHOD_1 ( "/" , STRING_0 , STRING_1 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_1 = new java . util . HashMap ( ) ; java . util . List < java . util . Map < java . lang . String , java . lang . Object > > IDENT_2 = new java . util . ArrayList ( ) ; IDENT_1 . put ( STRING_2 , IDENT_2 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_3 = new java . util . HashMap ( ) ; IDENT_3 . put ( STRING_3 , INT_0 ) ; IDENT_2 . add ( IDENT_3 ) ; doc . METHOD_2 ( STRING_4 , ( ( java . io . IDENT_4 ) ( IDENT_1 ) ) ) ; doc = session . METHOD_3 ( doc ) ; session . save ( ) ; doc . getProperty ( STRING_5 ) . setValue ( INT_1 ) ; session . METHOD_4 ( doc ) ; session . save ( ) ; doc . getProperty ( STRING_5 ) . setValue ( INT_2 ) ; session . METHOD_4 ( doc ) ; session . save ( ) ; METHOD_5 ( ) ; doc = session . METHOD_6 ( new org . nuxeo . ecm . core . api . METHOD_7 ( STRING_6 ) ) ; "<AssertPlaceHolder>" ; } getProperty ( java . lang . String ) { if ( ( properties ) != null ) { return properties . get ( name ) ; } return null ; }
org . junit . Assert . assertEquals ( INT_2 , doc . getProperty ( STRING_5 ) . getValue ( ) )