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 . IDENT_8 . IDENT_9 IDENT_10 = IDENT_7 . METHOD_4 ( host , host . getName ( ) ) ; log . debug ( STRING_0 , IDENT_10 . IDENT_11 ) ; log . debug ( STRING_1 , IDENT_10 . IDENT_12 ) ; log . debug ( STRING_2 , IDENT_10 . location ) ; } METHOD_2 ( java . lang . String ) { javax . persistence . IDENT_13 em = METHOD_5 ( ) ; try { javax . persistence . Query query = em . METHOD_6 ( STRING_3 ) ; query . METHOD_7 ( "name" , name ) ; query . METHOD_8 ( IDENT_14 . IDENT_15 , IDENT_16 . IDENT_17 ) ; com . IDENT_1 . IDENT_2 . as . data . IDENT_18 IDENT_19 = ( ( com . IDENT_1 . IDENT_2 . as . data . IDENT_18 ) ( query . METHOD_9 ( ) ) ) ; return IDENT_19 ; } finally { em . close ( ) ; } }
org . junit . Assert . assertNotNull ( host )