METHOD_0 ( ) { org . nuxeo . ecm . core . storage . sql . IDENT_0 session = repository . METHOD_1 ( ) ; org . nuxeo . ecm . core . storage . sql . Node root = session . METHOD_2 ( ) ; org . nuxeo . ecm . core . storage . sql . Node node = session . METHOD_3 ( root , "foo" , null , STRING_0 , false ) ; session . save ( ) ; try { node . METHOD_4 ( STRING_1 ) ; org . junit . Assert . fail ( ) ; } catch ( org . nuxeo . ecm . core . api . model . IDENT_1 e ) { } session . METHOD_5 ( node , STRING_2 ) ; org . nuxeo . ecm . core . storage . sql . IDENT_2 p = node . METHOD_4 ( STRING_1 ) ; "<AssertPlaceHolder>" ; p . setValue ( STRING_3 ) ; session . save ( ) ; session . METHOD_6 ( node , STRING_2 ) ; session . save ( ) ; try { node . METHOD_4 ( STRING_1 ) ; org . junit . Assert . fail ( ) ; } catch ( org . nuxeo . ecm . core . api . model . IDENT_1 e ) { } } METHOD_4 ( java . lang . String ) { org . nuxeo . ecm . core . storage . sql . IDENT_2 property = ( ( org . nuxeo . ecm . core . storage . sql . IDENT_2 ) ( IDENT_3 . get ( name ) ) ) ; if ( property == null ) { org . nuxeo . ecm . core . storage . sql . IDENT_4 IDENT_5 = METHOD_7 ( name ) ; if ( IDENT_5 == null ) { throw new org . nuxeo . ecm . core . api . model . METHOD_8 ( name ) ; } property = METHOD_9 ( name , IDENT_5 ) ; IDENT_3 . put ( name , property ) ; } return property ; }
org . junit . Assert . assertNotNull ( p )