METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_3 = METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( ) . METHOD_3 ( ) ; com . IDENT_0 . IDENT_1 . neo4j . test . query . Result < com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 > result = IDENT_3 . METHOD_4 ( com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_5 . class ) . METHOD_5 ( "value" , STRING_0 ) . execute ( ) ; com . IDENT_0 . IDENT_1 . neo4j . test . query . IDENT_4 . IDENT_6 a = result . METHOD_6 ( ) . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; IDENT_3 . METHOD_2 ( ) . commit ( ) ; } METHOD_6 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_7 < T > iterator = com . IDENT_0 . IDENT_1 . impl . IDENT_8 . iterator ( ) ; if ( ! ( iterator . hasNext ( ) ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_8 ( STRING_1 ) ; } try { T IDENT_9 = iterator . next ( ) ; if ( iterator . hasNext ( ) ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_8 ( STRING_2 ) ; } return IDENT_9 ; } finally { iterator . close ( ) ; } }
org . junit . Assert . assertThat ( a . getValue ( ) , org . hamcrest . Matchers . equalTo ( STRING_0 ) )