METHOD_0 ( ) { org . neo4j . kernel . impl . store . IDENT_0 < org . neo4j . kernel . impl . store . record . IDENT_1 > IDENT_2 = mock ( org . neo4j . kernel . impl . store . IDENT_0 . class ) ; int IDENT_3 = 5 ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( ( ( long ) ( IDENT_3 ) ) ) ; org . neo4j . IDENT_4 . impl . IDENT_5 . store . IDENT_6 . IDENT_7 repo = new org . neo4j . IDENT_4 . impl . IDENT_5 . store . IDENT_6 . METHOD_2 ( IDENT_2 ) ; verify ( IDENT_2 ) . METHOD_1 ( ) ; int IDENT_8 = repo . METHOD_3 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . lang . Integer id = IDENT_9 . getId ( name ) ; if ( id != null ) { return id ; } try { return METHOD_4 ( name ) ; } catch ( org . neo4j . kernel . api . exceptions . IDENT_10 e ) { throw new org . neo4j . IDENT_11 . METHOD_5 ( e . getMessage ( ) , e ) ; } catch ( java . lang . Throwable e ) { throw new org . neo4j . IDENT_11 . METHOD_5 ( STRING_1 , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_8 )