METHOD_0 ( ) { subject = new net . ripe . db . whois . common . io . METHOD_1 ( 0 ) ; subject . write ( buffer ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { return java . util . Arrays . METHOD_2 ( buf , count ) ; }
org . junit . Assert . assertThat ( subject . toByteArray ( ) , org . hamcrest . Matchers . is ( buffer ) )