METHOD_0 ( ) { when ( builder . < net . ripe . db . whois . common . IDENT_0 . IDENT_1 . IDENT_2 > METHOD_1 ( any ( javax . ws . rs . client . Entity . class ) , any ( java . lang . Class . class ) ) ) . METHOD_2 ( ( IDENT_3 ) -> { when ( response . getStatus ( ) ) . thenReturn ( INT_0 ) ; when ( response . METHOD_3 ( ) ) . thenReturn ( Response . Status . IDENT_4 ) ; when ( response . METHOD_4 ( . class ) ) . thenReturn ( new net . ripe . db . whois . common . IDENT_0 . IDENT_1 . METHOD_5 ( STRING_0 , STRING_1 ) ) ; throw new javax . ws . rs . METHOD_6 ( response ) ; } ) ; try { subject . METHOD_7 ( STRING_2 , STRING_3 ) ; org . junit . Assert . fail ( ) ; } catch ( net . ripe . db . whois . common . IDENT_0 . IDENT_5 expected ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertThat ( expected . getMessage ( ) , org . hamcrest . core . Is . is ( STRING_1 ) )