METHOD_0 ( ) { IDENT_0 . remove ( IDENT_1 . IDENT_2 , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . IDENT_1 , java . lang . Object ) { javax . persistence . IDENT_6 em = null ; try { switch ( type ) { case IDENT_7 : em = org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . IDENT_8 . METHOD_2 ( ) ; org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_9 IDENT_10 = new org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . METHOD_3 ( ) ; IDENT_10 . METHOD_4 ( IDENT_11 ) ; IDENT_10 . METHOD_5 ( name . toString ( ) ) ; org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_12 IDENT_13 = em . find ( org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_12 . class , IDENT_10 ) ; em . close ( ) ; return IDENT_13 != null ; case IDENT_14 : em = org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . IDENT_8 . METHOD_2 ( ) ; org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_15 IDENT_16 = new org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . METHOD_6 ( ) ; IDENT_16 . METHOD_4 ( METHOD_7 ( ) ) ; IDENT_16 . METHOD_5 ( name . toString ( ) ) ; org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_17 IDENT_18 = em . find ( org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_17 . class , IDENT_16 ) ; em . close ( ) ; return IDENT_18 != null ; case IDENT_2 : em = org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . IDENT_8 . METHOD_2 ( ) ; org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_19 IDENT_20 = em . find ( org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_19 . class , name . toString ( ) ) ; em . close ( ) ; return IDENT_20 != null ; default : org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_21 . logger . error ( STRING_0 , new java . lang . IllegalArgumentException ( ) ) ; throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } } catch ( java . lang . Exception e ) { org . apache . IDENT_4 . registry . core . IDENT_5 . catalog . resources . IDENT_21 . logger . error ( e . getMessage ( ) , e ) ; throw new org . apache . IDENT_4 . registry . IDENT_22 . METHOD_8 ( e ) ; } finally { if ( ( em != null ) && ( em . METHOD_9 ( ) ) ) { if ( em . METHOD_10 ( ) . METHOD_11 ( ) ) { em . METHOD_10 ( ) . METHOD_12 ( ) ; } em . close ( ) ; } } }
org . junit . Assert . assertFalse ( IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , IDENT_3 ) )