METHOD_0 ( ) { java . lang . String database = STRING_0 ; java . io . File file = new java . io . File ( ( STRING_1 + database ) ) ; org . neo4j . doc . test . index . IDENT_0 . METHOD_1 ( file ) ; org . neo4j . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = org . neo4j . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_2 ( file ) ; org . neo4j . IDENT_1 . IDENT_2 . IDENT_6 IDENT_7 = new org . neo4j . index . lucene . IDENT_1 . IDENT_2 . METHOD_3 ( METHOD_2 ) ; org . neo4j . IDENT_1 . IDENT_2 . IDENT_8 IDENT_9 = IDENT_7 . METHOD_4 ( STRING_2 , org . neo4j . helpers . collection . IDENT_10 . METHOD_5 ( STRING_3 , STRING_4 ) ) ; IDENT_9 . METHOD_6 ( "name" , INT_0 ) ; java . util . Map < java . lang . String , java . lang . Object > properties = org . neo4j . helpers . collection . IDENT_10 . map ( "name" , STRING_5 ) ; long node = METHOD_2 . METHOD_7 ( properties ) ; IDENT_9 . add ( node , properties ) ; IDENT_9 . METHOD_8 ( ) ; IDENT_7 . METHOD_9 ( ) ; METHOD_2 . METHOD_9 ( ) ; org . neo4j . IDENT_11 . IDENT_12 db = new org . neo4j . doc . test . METHOD_10 ( ) . METHOD_11 ( file . METHOD_12 ( ) ) . METHOD_13 ( IDENT_13 . IDENT_14 , database ) . METHOD_14 ( ) ; try ( org . neo4j . IDENT_11 . IDENT_15 tx = db . METHOD_15 ( ) ) { org . neo4j . IDENT_11 . index . IDENT_16 < org . neo4j . IDENT_11 . Node > index = db . index ( ) . METHOD_16 ( STRING_2 ) ; org . neo4j . IDENT_11 . Node IDENT_17 = index . get ( "name" , STRING_5 ) . next ( ) ; "<AssertPlaceHolder>" ; } db . METHOD_9 ( ) ; } next ( ) { if ( ( IDENT_18 . size ( ) ) == 0 ) { throw new java . util . METHOD_17 ( ) ; } org . neo4j . examples . IDENT_19 . IDENT_20 < org . neo4j . examples . IDENT_19 . IDENT_21 > first = IDENT_18 . get ( 0 ) ; org . neo4j . examples . IDENT_19 . IDENT_21 IDENT_22 = first . METHOD_18 ( ) ; if ( ! ( first . hasNext ( ) ) ) { IDENT_18 . remove ( 0 ) ; } else { first . next ( ) ; METHOD_19 ( ) ; } return IDENT_22 ; }
org . junit . Assert . assertEquals ( node , IDENT_17 . getId ( ) )