METHOD_0 ( ) { org . IDENT_0 . catalog . IDENT_1 IDENT_2 = METHOD_1 ( ) ; org . IDENT_0 . catalog . IDENT_3 IDENT_4 = database . METHOD_2 ( IDENT_2 . getResource ( ) . getId ( ) , org . IDENT_0 . catalog . IDENT_3 . class ) ; IDENT_4 . setName ( STRING_0 ) ; IDENT_5 . METHOD_3 ( ) . METHOD_4 ( new org . IDENT_0 . catalog . event . METHOD_5 ( ) { @ org . IDENT_0 . IDENT_6 . internal . Override public void METHOD_6 ( org . IDENT_0 . catalog . event . IDENT_7 event ) throws org . IDENT_0 . catalog . IDENT_8 { } @ org . IDENT_0 . IDENT_6 . internal . Override public void METHOD_7 ( org . IDENT_0 . catalog . event . IDENT_9 event ) throws org . IDENT_0 . catalog . IDENT_8 { } @ org . IDENT_0 . IDENT_6 . internal . Override public void METHOD_8 ( org . IDENT_0 . catalog . event . IDENT_10 event ) throws org . IDENT_0 . catalog . IDENT_8 { database . METHOD_2 ( IDENT_2 . getId ( ) , org . IDENT_0 . catalog . IDENT_1 . class ) ; } @ org . IDENT_0 . IDENT_6 . internal . Override public void METHOD_9 ( org . IDENT_0 . catalog . event . IDENT_11 event ) throws org . IDENT_0 . catalog . IDENT_8 { } @ org . IDENT_0 . IDENT_6 . internal . Override public void METHOD_10 ( ) { } } ) ; IDENT_5 . METHOD_11 ( ) . save ( IDENT_4 ) ; org . IDENT_0 . catalog . IDENT_1 IDENT_12 = database . METHOD_2 ( IDENT_2 . getId ( ) , org . IDENT_0 . catalog . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; } getResource ( ) { return resource ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_12 . getResource ( ) . getName ( ) )