METHOD_0 ( ) { org . neo4j . IDENT_0 . IDENT_1 db = IDENT_2 . METHOD_1 ( ) ; final org . neo4j . IDENT_0 . IDENT_3 IDENT_4 = METHOD_2 ( STRING_0 ) ; try ( org . neo4j . IDENT_0 . IDENT_5 tx = db . METHOD_3 ( ) ) { db . schema ( ) . METHOD_4 ( METHOD_2 ) . METHOD_5 ( STRING_1 ) . create ( ) ; tx . METHOD_6 ( ) ; } db . METHOD_7 ( new org . neo4j . IDENT_0 . event . IDENT_6 . IDENT_7 < java . lang . Object > ( ) { @ java . lang . Override public java . lang . Object METHOD_8 ( org . neo4j . IDENT_0 . event . IDENT_8 data ) { Iterator < org . neo4j . IDENT_0 . Node > nodes = data . METHOD_9 ( ) . iterator ( ) ; if ( nodes . hasNext ( ) ) { org . neo4j . IDENT_0 . Node node = nodes . next ( ) ; node . METHOD_10 ( METHOD_2 ) ; } return null ; } } ) ; try ( org . neo4j . IDENT_0 . IDENT_5 tx = db . METHOD_3 ( ) ) { db . schema ( ) . METHOD_11 ( org . neo4j . kernel . impl . event . IDENT_9 . IDENT_10 , org . neo4j . kernel . impl . event . IDENT_9 . IDENT_11 ) ; org . neo4j . IDENT_0 . Node node = db . METHOD_12 ( ) ; node . setProperty ( STRING_1 , "value" ) ; node . setProperty ( STRING_2 , INT_0 ) ; tx . METHOD_6 ( ) ; } try ( org . neo4j . IDENT_0 . IDENT_5 IDENT_12 = db . METHOD_3 ( ) ) { org . neo4j . IDENT_0 . Node node = db . METHOD_13 ( METHOD_2 , STRING_1 , "value" ) ; "<AssertPlaceHolder>" ; } } getProperty ( java . lang . String ) { if ( null == key ) { throw new java . lang . IllegalArgumentException ( STRING_3 ) ; } org . neo4j . kernel . api . IDENT_13 transaction = spi . METHOD_14 ( ) ; int IDENT_14 = transaction . METHOD_15 ( ) . METHOD_16 ( key ) ; if ( METHOD_16 == ( org . neo4j . internal . kernel . api . IDENT_15 . IDENT_16 ) ) { throw new org . neo4j . IDENT_0 . METHOD_17 ( java . lang . String . format ( STRING_4 , key ) ) ; } org . neo4j . internal . kernel . api . IDENT_17 IDENT_18 = transaction . METHOD_18 ( ) ; org . neo4j . internal . kernel . api . IDENT_19 properties = transaction . METHOD_19 ( ) ; METHOD_20 ( transaction , IDENT_18 ) ; IDENT_18 . properties ( properties ) ; while ( properties . next ( ) ) { if ( METHOD_16 == ( properties . METHOD_16 ( ) ) ) { org . neo4j . values . IDENT_20 . IDENT_21 value = properties . METHOD_21 ( ) ; if ( value == ( org . neo4j . values . IDENT_20 . IDENT_22 . IDENT_23 ) ) { throw new org . neo4j . IDENT_0 . METHOD_17 ( java . lang . String . format ( STRING_4 , key ) ) ; } return value . METHOD_22 ( ) ; } } throw new org . neo4j . IDENT_0 . METHOD_17 ( java . lang . String . format ( STRING_4 , key ) ) ; }
org . junit . Assert . assertThat ( node . getProperty ( STRING_2 ) , org . hamcrest . Matchers . is ( INT_0 ) )