METHOD_0 ( ) { System . out . METHOD_1 ( STRING_0 ) ; java . lang . String name = STRING_1 ; java . lang . String expResult = STRING_2 ; java . lang . String result = instance . METHOD_2 ( name ) ; "<AssertPlaceHolder>" ; System . out . println ( STRING_3 ) ; } METHOD_2 ( java . lang . String ) { java . lang . String result = null ; try { uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . IDENT_4 entities = client . METHOD_3 ( name , IDENT_5 . IDENT_6 , 1 , IDENT_7 . IDENT_8 ) ; java . util . List < uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . IDENT_9 > IDENT_10 = entities . METHOD_4 ( ) ; if ( ( IDENT_10 . size ( ) ) > 0 ) { uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . IDENT_9 IDENT_11 = ( ( uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . IDENT_9 ) ( IDENT_10 . get ( 0 ) ) ) ; if ( IDENT_11 . METHOD_5 ( ) . equalsIgnoreCase ( name ) ) { result = IDENT_11 . METHOD_6 ( ) ; } } } catch ( uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . model . IDENT_12 e ) { throw new uk . ac . IDENT_0 . IDENT_13 . IDENT_14 . IDENT_1 . METHOD_7 ( ( STRING_4 + name ) , e ) ; } return result ; }
org . junit . Assert . assertEquals ( expResult , result )