METHOD_0 ( ) { when ( IDENT_0 . insert ( IDENT_1 ) ) . METHOD_1 ( new java . lang . RuntimeException ( ) ) ; com . IDENT_2 . domain . model . type . IDENT_3 result = ( ( com . IDENT_2 . domain . model . type . IDENT_3 ) ( IDENT_4 . METHOD_2 ( IDENT_5 ) ) ) ; verify ( IDENT_6 ) . METHOD_3 ( original ) ; verify ( IDENT_5 ) . METHOD_4 ( ) ; verify ( IDENT_6 ) . METHOD_5 ( any ( com . IDENT_2 . domain . model . type . IDENT_3 . class ) , any ( com . IDENT_2 . domain . model . type . IDENT_3 . class ) ) ; this . METHOD_6 ( ) ; verify ( IDENT_0 ) . insert ( IDENT_1 ) ; METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } getId ( ) { return com . IDENT_2 . test . IDENT_7 . IDENT_8 . id ; }
org . junit . Assert . assertEquals ( original . getId ( ) , result . getId ( ) )