package de.morphbit.thymeleaf.dialect;

import static org.junit.Assert.assertNotNull;

import org.junit.Test;
import org.thymeleaf.context.Context;

import de.morphbit.thymeleaf.base.AbstractThymeleafComponentDialectTest;

public class ComponentTest extends AbstractThymeleafComponentDialectTest {

	private static final String FILE = "link-component-test.html";

	@Test
	public void test() {
		String html = processThymeleafFile(FILE, new Context());
		System.out.println(html);
		assertNotNull(html);
	}
}

@@ -78,16 +78,59 @@
 NotNull;
+%0Aimport static org.junit.Assert.assertTrue;
 %0A%0Aimport
@@ -492,56 +492,229 @@
 ));%0A
+%0A
 %09%09
-System.out.println(html);%0A%09%09assertNotNull(html
+assertNotNull(html);%0A%09%09assertTrue(!html.contains(%22tc:link%22));%0A%09%09assertTrue(!html.contains(%22tc:content%22));%0A%09%09assertTrue(html.contains(%22%3Ca href=%5C%22http://www.test.com%5C%22%3E%22));%0A%09%09assertTrue(html.contains(%22%3Cspan%3ETest%3C/span%3E%22)
 );%0A%09

Add assertions