METHOD_0 ( ) { test . policy . IDENT_0 host = com . IDENT_1 . IDENT_2 . IDENT_3 . jpa ( ) . METHOD_1 ( ) . METHOD_2 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; com . IDENT_1 . IDENT_2 . as . business . IDENT_5 . IDENT_6 IDENT_7 = new com . IDENT_1 . IDENT_2 . as . business . IDENT_5 . METHOD_3 ( ) ; com . IDENT_1 . IDENT_2 . policy . IDENT_8 IDENT_9 = IDENT_7 . METHOD_4 ( host , IDENT_4 , null ) ; log . debug ( test . policy . IDENT_10 . json . METHOD_5 ( IDENT_9 ) ) ; com . IDENT_1 . IDENT_2 . IDENT_11 . IDENT_12 IDENT_5 = new com . IDENT_1 . IDENT_2 . IDENT_11 . METHOD_6 ( ) ; IDENT_5 . IDENT_13 = IDENT_9 . METHOD_7 ( IDENT_14 . IDENT_15 . name ( ) ) ; IDENT_5 . IDENT_16 = IDENT_9 . METHOD_7 ( IDENT_14 . IDENT_17 . name ( ) ) ; IDENT_5 . location = IDENT_9 . METHOD_7 ( IDENT_14 . IDENT_18 . name ( ) ) ; log . debug ( STRING_0 , new java . lang . Object [ ] { IDENT_5 . IDENT_13 , IDENT_5 . IDENT_16 , IDENT_5 . location } ) ; java . util . List < com . IDENT_1 . IDENT_2 . policy . IDENT_19 > IDENT_20 = IDENT_9 . METHOD_8 ( ) ; log . debug ( STRING_1 , IDENT_20 . size ( ) ) ; for ( com . IDENT_1 . IDENT_2 . policy . IDENT_19 IDENT_21 : IDENT_20 ) { if ( ( IDENT_21 . METHOD_9 ( ) ) instanceof com . IDENT_1 . IDENT_2 . policy . rule . IDENT_22 ) { log . debug ( STRING_2 , IDENT_21 . METHOD_10 ( ) , IDENT_21 . METHOD_11 ( ) ) ; log . debug ( STRING_3 2 , test . policy . IDENT_10 . json . METHOD_5 ( IDENT_21 . METHOD_9 ( ) ) ) ; } } } METHOD_2 ( java . lang . String ) { javax . persistence . IDENT_23 em = METHOD_12 ( ) ; try { javax . persistence . Query query = em . METHOD_13 ( STRING_4 ) ; query . METHOD_14 ( "name" , name ) ; query . METHOD_15 ( IDENT_24 . IDENT_25 , IDENT_26 . IDENT_27 ) ; com . IDENT_1 . IDENT_2 . as . data . IDENT_28 IDENT_29 = ( ( com . IDENT_1 . IDENT_2 . as . data . IDENT_28 ) ( query . METHOD_16 ( ) ) ) ; return IDENT_29 ; } finally { em . close ( ) ; } }
org . junit . Assert . assertNotNull ( host )