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 . validation . IDENT_4 . IDENT_5 b = IDENT_3 . create ( com . IDENT_0 . IDENT_1 . neo4j . test . validation . IDENT_4 . IDENT_5 . class ) ; for ( int i = 0 ; i < 2 ; i ++ ) { com . IDENT_0 . IDENT_1 . neo4j . test . validation . IDENT_4 . IDENT_6 a = IDENT_3 . create ( com . IDENT_0 . IDENT_1 . neo4j . test . validation . IDENT_4 . IDENT_6 . class ) ; a . setName ( STRING_0 ) ; a . METHOD_4 ( b ) ; } IDENT_3 . METHOD_2 ( ) . commit ( ) ; METHOD_5 ( ) ; IDENT_3 = METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( ) . METHOD_3 ( ) ; for ( com . IDENT_0 . IDENT_1 . neo4j . test . validation . IDENT_4 . IDENT_6 IDENT_7 : IDENT_3 . find ( com . IDENT_0 . IDENT_1 . neo4j . test . validation . IDENT_4 . IDENT_6 . class , STRING_0 ) ) { IDENT_7 . setName ( null ) ; } java . util . Set < javax . validation . IDENT_8 < ? > > IDENT_9 = null ; try { IDENT_3 . METHOD_2 ( ) . commit ( ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( javax . validation . IDENT_10 e ) { IDENT_9 = e . METHOD_6 ( ) ; } "<AssertPlaceHolder>" ; IDENT_3 . METHOD_2 ( ) . METHOD_7 ( ) ; } size ( ) { return IDENT_11 . size ( ) ; }
org . junit . Assert . assertThat ( IDENT_9 . size ( ) , org . hamcrest . Matchers . equalTo ( 1 ) )