package cc.catalysts.boot.report.pdf.config;

import org.junit.Assert;
import org.junit.Test;

import java.awt.*;

/**
 * @author Klaus Lehner
 */
public class PdfTextStyleTest {

    @Test
    public void fromConstructor() {
        PdfTextStyle config = new PdfTextStyle("10,Times-Roman,#000000");

        Assert.assertEquals(10, config.getFontSize());
        Assert.assertEquals("Times-Roman", config.getFont().getName());
        Assert.assertEquals(Color.black, config.getColor());
    }
}

@@ -293,16 +293,17 @@
 0000%22);%0A
+ 
 %0A       

test commit