Package br.com.caelum.tubaina.parser.latex

Source Code of br.com.caelum.tubaina.parser.latex.ParagraphTagTest

package br.com.caelum.tubaina.parser.latex;

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

import br.com.caelum.tubaina.chunk.ParagraphChunk;

public class ParagraphTagTest extends AbstractTagTest {

  @Test
  public void testParagraphTag(){
    ParagraphChunk chunk = new ParagraphChunk("qualquer texto", false);
    String result = getContent(chunk);
    Assert.assertEquals(result, "\n\nqualquer texto");
  }

}
TOP

Related Classes of br.com.caelum.tubaina.parser.latex.ParagraphTagTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.