getBytes ( ) { org . IDENT_0 . controller . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . controller . IDENT_1 . METHOD_0 ( STRING_0 , STRING_1 , new byte [ ] { STRING_2 } ) ; IDENT_0 . IDENT_4 . model . IDENT_5 data = service . METHOD_1 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } getBytes ( IDENT_0 . IDENT_4 . model . IDENT_5 ) { if ( IDENT_6 == null ) { throw new java . lang . METHOD_2 ( STRING_3 ) ; } java . util . List < IDENT_0 . IDENT_4 . model . IDENT_7 > IDENT_8 = IDENT_6 . METHOD_3 ( ) . METHOD_4 ( ) ; byte [ ] [ ] IDENT_9 = new byte [ IDENT_8 . size ( ) ] [ 0 ] ; for ( int i = 0 ; i < ( IDENT_8 . size ( ) ) ; i ++ ) { IDENT_9 [ i ] = IDENT_8 . get ( i ) . getBytes ( ) ; } return org . IDENT_0 . util . IDENT_10 . join ( IDENT_9 ) ; }
org . junit . Assert . assertThat ( service . getBytes ( data ) , org . hamcrest . CoreMatchers . is ( new byte [ ] { STRING_2 } ) )