METHOD_0 ( ) { org . IDENT_0 . core . persistence . beans . IDENT_1 resource = new org . IDENT_0 . core . persistence . beans . METHOD_1 ( ) ; resource . setName ( STRING_0 ) ; org . IDENT_0 . core . persistence . beans . IDENT_2 IDENT_3 = IDENT_4 . find ( STRING_1 ) . METHOD_2 ( ) ; resource . METHOD_3 ( IDENT_3 ) ; org . IDENT_0 . core . persistence . beans . IDENT_5 IDENT_6 = new org . IDENT_0 . core . persistence . beans . METHOD_4 ( ) ; IDENT_6 . METHOD_5 ( resource ) ; IDENT_6 . METHOD_6 ( true ) ; IDENT_6 . METHOD_7 ( IDENT_7 . IDENT_8 ) ; resource . METHOD_8 ( IDENT_6 ) ; org . IDENT_0 . core . persistence . beans . METHOD_1 actual = IDENT_4 . save ( resource ) ; "<AssertPlaceHolder>" ; } save ( org . IDENT_9 . lang . IDENT_10 ) { java . util . Set < javax . validation . IDENT_11 < java . lang . Object > > IDENT_12 = validator . validate ( IDENT_13 . METHOD_9 ( ) [ 0 ] ) ; if ( ! ( IDENT_12 . isEmpty ( ) ) ) { org . IDENT_0 . core . persistence . validation . entity . IDENT_14 . LOG . error ( STRING_2 , IDENT_12 ) ; throw new org . IDENT_0 . core . persistence . validation . entity . METHOD_10 ( IDENT_13 . METHOD_9 ( ) [ 0 ] . getClass ( ) . METHOD_11 ( ) , IDENT_12 ) ; } return IDENT_13 . METHOD_12 ( ) ; }
org . junit . Assert . assertNotNull ( actual )