TextRecord record = new TextRecord(new TestcaseRecordInputStream((short)0x1025, (short)data.length, data));
assertEquals( TextRecord.HORIZONTAL_ALIGNMENT_CENTER, record.getHorizontalAlignment());
assertEquals( TextRecord.VERTICAL_ALIGNMENT_CENTER, record.getVerticalAlignment());
assertEquals( TextRecord.DISPLAY_MODE_TRANSPARENT, record.getDisplayMode());
assertEquals( 0, record.getRgbColor());
assertEquals( -42, record.getX());
assertEquals( -60, record.getY());
assertEquals( 0, record.getWidth());
assertEquals( 0, record.getHeight());
assertEquals( 177, record.getOptions1());
assertEquals( true, record.isAutoColor() );
assertEquals( false, record.isShowKey() );
assertEquals( false, record.isShowValue() );
assertEquals( false, record.isVertical() );
assertEquals( true, record.isAutoGeneratedText() );
assertEquals( true, record.isGenerated() );
assertEquals( false, record.isAutoLabelDeleted() );
assertEquals( true, record.isAutoBackground() );
assertEquals( TextRecord.ROTATION_NONE, record.getRotation() );
assertEquals( false, record.isShowCategoryLabelAsPercentage() );
assertEquals( false, record.isShowValueAsPercentage() );
assertEquals( false, record.isShowBubbleSizes() );
assertEquals( false, record.isShowLabel() );
assertEquals( 77, record.getIndexOfColorValue());
assertEquals( 11088, record.getOptions2());
assertEquals( 0, record.getDataLabelPlacement() );
assertEquals( 0, record.getTextRotation());
assertEquals( 36, record.getRecordSize() );
record.validateSid((short)0x1025);