byte[] imageBytes = streamToTytes( is );
byte[] imageBytes = streamToBytes( is );
	public void test_regression_150347( ) throws IOException, SemanticException	{		ReportDesignHandle designHandle = this.createDesign( );		InputStream is = Regression_150347.class				.getResourceAsStream( "input/worm.jpg" ); //$NON-NLS-1$		byte[] imageBytes = streamToTytes( is );		designHandle.setThumbnail( imageBytes );		byte[] data = designHandle.getThumbnail( );		assertEquals( imageBytes.length, data.length );		designHandle.deleteThumbnail( );		assertNull( designHandle.getThumbnail( ) );	}