@Test
public void testSetContents() {

    RuleTemplate rt = new RuleTemplate("rt1", getTemplateContainer());
    rt.setContents("Test template");
    assertEquals("Test template\n", rt.getContents());
}