METHOD_0 ( ) { doReturn ( null ) . when ( client ) . METHOD_1 ( org . talend . components . IDENT_0 . runtime . client . rest . response . IDENT_1 . class ) ; try { client . METHOD_2 ( STRING_0 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( org . talend . components . IDENT_0 . runtime . client . type . IDENT_2 e ) { } org . talend . components . IDENT_0 . runtime . client . rest . response . IDENT_1 IDENT_3 = new org . talend . components . IDENT_0 . runtime . client . rest . response . METHOD_3 ( ) ; IDENT_3 . METHOD_4 ( true ) ; org . talend . components . IDENT_0 . runtime . client . rest . type . IDENT_4 IDENT_5 = new org . talend . components . IDENT_0 . runtime . client . rest . type . METHOD_5 ( ) ; IDENT_5 . setId ( INT_0 ) ; IDENT_3 . METHOD_6 ( java . util . Arrays . asList ( IDENT_5 ) ) ; doReturn ( IDENT_3 ) . when ( client ) . METHOD_1 ( org . talend . components . IDENT_0 . runtime . client . rest . response . METHOD_3 . class ) ; "<AssertPlaceHolder>" ; } valueOf ( java . lang . String ) { return org . talend . components . IDENT_6 . client . model . beans . IDENT_7 . map . get ( name ) ; }
org . junit . Assert . assertEquals ( java . lang . Integer . valueOf ( INT_0 ) , client . METHOD_2 ( STRING_0 ) )