import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.immutable.Point;
public class VelocityTest extends TestCase {
public void testNoTemplate() {
DumperOptions options = new DumperOptions();
options.setAllowReadOnlyProperties(true);
Yaml yaml = new Yaml(options);
String output = yaml.dumpAsMap(createBean());
// System.out.println(output);
assertEquals(Util.getLocalResource("template/etalon1.yaml"), output);
}