METHOD_0 ( ) { java . net . URL url = new java . net . URL ( STRING_0 ) ; final java . net . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( java . net . IDENT_0 . class ) ; java . io . ByteArrayOutputStream IDENT_2 = new java . io . ByteArrayOutputStream ( ) ; java . io . ByteArrayInputStream IDENT_3 = new java . io . ByteArrayInputStream ( org . apache . calcite . IDENT_4 . remote . IDENT_5 . IDENT_6 . getBytes ( IDENT_7 . UTF_8 ) ) ; org . apache . calcite . IDENT_4 . remote . IDENT_8 client = new org . apache . calcite . IDENT_4 . remote . METHOD_1 ( url ) { @ org . apache . calcite . IDENT_4 . remote . Override java . net . IDENT_0 METHOD_2 ( ) throws java . io . IOException { return IDENT_1 ; } } ; org . mockito . Mockito . when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( IDENT_0 . IDENT_9 , IDENT_0 . IDENT_10 ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_4 ( ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_5 ( ) ) . thenReturn ( IDENT_3 ) ; byte [ ] response = client . METHOD_6 ( org . apache . calcite . IDENT_4 . remote . IDENT_5 . IDENT_11 . getBytes ( IDENT_7 . UTF_8 ) ) ; "<AssertPlaceHolder>" ; } getBytes ( java . lang . String ) { throw METHOD_7 ( ) ; }
org . junit . Assert . assertArrayEquals ( org . apache . calcite . IDENT_4 . remote . IDENT_5 . IDENT_6 . getBytes ( IDENT_7 . UTF_8 ) , response )