test ( ) { 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 . IDENT_4 . IDENT_5 . Person IDENT_6 = IDENT_3 . create ( com . IDENT_0 . IDENT_1 . neo4j . test . IDENT_4 . IDENT_5 . Person . class ) ; IDENT_6 . setName ( STRING_0 ) ; IDENT_3 . METHOD_1 ( ) . commit ( ) ; IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; com . IDENT_0 . IDENT_1 . neo4j . test . IDENT_4 . IDENT_5 . Person IDENT_7 = IDENT_3 . find ( com . IDENT_0 . IDENT_1 . neo4j . test . IDENT_4 . IDENT_5 . Person . class , STRING_0 ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; IDENT_3 . METHOD_1 ( ) . commit ( ) ; } METHOD_3 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_8 < T > iterator = com . IDENT_0 . IDENT_1 . impl . IDENT_9 . iterator ( ) ; if ( ! ( iterator . hasNext ( ) ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_4 ( STRING_1 ) ; } try { T IDENT_10 = iterator . next ( ) ; if ( iterator . hasNext ( ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_4 ( STRING_2 ) ; } return IDENT_10 ; } finally { iterator . close ( ) ; } }
org . junit . Assert . assertThat ( IDENT_7 , org . hamcrest . Matchers . equalTo ( IDENT_6 ) )