index ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_3 = METHOD_0 ( ) ; IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 IDENT_6 = IDENT_3 . create ( com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 . class ) ; IDENT_6 . setValue ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 IDENT_7 = IDENT_3 . create ( com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 . class ) ; IDENT_7 . setValue ( STRING_1 ) ; IDENT_3 . METHOD_1 ( ) . commit ( ) ; IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 a = IDENT_3 . find ( com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 . class , STRING_0 ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; try { IDENT_3 . find ( com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 . class , STRING_2 ) . METHOD_3 ( ) ; org . junit . Assert . fail ( ( STRING_3 + ( com . IDENT_0 . IDENT_1 . api . IDENT_8 . class . getName ( ) ) ) ) ; } catch ( com . IDENT_0 . IDENT_1 . api . IDENT_8 e ) { } IDENT_3 . METHOD_1 ( ) . commit ( ) ; } METHOD_3 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_9 < T > iterator = com . IDENT_0 . IDENT_1 . impl . IDENT_10 . iterator ( ) ; if ( ! ( iterator . hasNext ( ) ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_4 ( STRING_4 ) ; } try { T IDENT_11 = iterator . next ( ) ; if ( iterator . hasNext ( ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_4 ( STRING_5 ) ; } return IDENT_11 ; } finally { iterator . close ( ) ; } }
org . junit . Assert . assertThat ( a , org . hamcrest . Matchers . equalTo ( IDENT_6 ) )