METHOD_0 ( ) { log . info ( STRING_0 ) ; javax . persistence . IDENT_0 em = IDENT_1 . METHOD_1 ( ) ; em . METHOD_2 ( ) . METHOD_3 ( ) ; javax . persistence . criteria . IDENT_2 cb = em . METHOD_4 ( ) ; javax . persistence . criteria . IDENT_3 < org . IDENT_4 . IDENT_5 . java . model . IDENT_6 > IDENT_7 = cb . METHOD_5 ( org . IDENT_4 . IDENT_5 . java . model . IDENT_6 . class ) ; javax . persistence . criteria . IDENT_8 < org . IDENT_4 . IDENT_5 . java . model . IDENT_6 > root = IDENT_7 . from ( org . IDENT_4 . IDENT_5 . java . model . IDENT_6 . class ) ; javax . persistence . criteria . IDENT_9 < org . IDENT_4 . IDENT_5 . java . model . IDENT_6 , org . IDENT_4 . IDENT_5 . java . model . IDENT_10 > IDENT_11 = root . join ( IDENT_12 . IDENT_11 ) ; javax . persistence . criteria . IDENT_13 < java . lang . String > IDENT_14 = cb . parameter ( java . lang . String . class ) ; javax . persistence . criteria . IDENT_13 < java . lang . String > IDENT_15 = cb . parameter ( java . lang . String . class ) ; IDENT_7 . METHOD_6 ( cb . and ( cb . equal ( IDENT_11 . get ( IDENT_16 . IDENT_17 ) , IDENT_14 ) , cb . equal ( IDENT_11 . get ( IDENT_16 . IDENT_18 ) , IDENT_15 ) ) ) ; javax . persistence . IDENT_19 < org . IDENT_4 . IDENT_5 . java . model . IDENT_6 > query = em . METHOD_5 ( IDENT_7 ) ; query . METHOD_7 ( IDENT_14 , STRING_1 ) ; query . METHOD_7 ( IDENT_15 , STRING_2 ) ; java . util . List < org . IDENT_4 . IDENT_5 . java . model . IDENT_6 > IDENT_20 = query . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; for ( org . IDENT_4 . IDENT_5 . java . model . IDENT_6 b : IDENT_20 ) { log . info ( b ) ; } em . METHOD_2 ( ) . commit ( ) ; em . close ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_20 . size ( ) )