diff --git a/public/biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/report/ReportSectionTest.scala b/public/biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/report/ReportSectionTest.scala new file mode 100644 index 0000000000000000000000000000000000000000..cd4ba4378fcd5884e5b2f8e007af94a3c967b319 --- /dev/null +++ b/public/biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/report/ReportSectionTest.scala @@ -0,0 +1,17 @@ +package nl.lumc.sasc.biopet.core.report + +import org.scalatest.Matchers +import org.scalatest.testng.TestNGSuite +import org.testng.annotations.Test + +/** + * Created by pjvanthof on 24/02/16. + */ +class ReportSectionTest extends TestNGSuite with Matchers { + + @Test + def testSectionRender: Unit = { + ReportSection("/template.ssp", Map("arg" -> "test")).render() shouldBe "test" + ReportSection("/template.ssp").render(Map("arg" -> "test")) shouldBe "test" + } +}