use JavaBeanDumper for template example
diff --git a/src/test/java/org/yaml/snakeyaml/emitter/template/VelocityTest.java b/src/test/java/org/yaml/snakeyaml/emitter/template/VelocityTest.java
index 2eaff57..3701cb3 100644
--- a/src/test/java/org/yaml/snakeyaml/emitter/template/VelocityTest.java
+++ b/src/test/java/org/yaml/snakeyaml/emitter/template/VelocityTest.java
@@ -10,7 +10,7 @@
 import org.apache.velocity.VelocityContext;

 import org.apache.velocity.app.VelocityEngine;

 import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;

-import org.yaml.snakeyaml.DumperOptions;

+import org.yaml.snakeyaml.JavaBeanDumper;

 import org.yaml.snakeyaml.JavaBeanLoader;

 import org.yaml.snakeyaml.Util;

 import org.yaml.snakeyaml.Yaml;

@@ -18,10 +18,8 @@
 

 public class VelocityTest extends TestCase {

     public void testNoTemplate() {

-        DumperOptions options = new DumperOptions();

-        options.setExplicitStart(true);

-        Yaml yaml = new Yaml(options);

-        String output = yaml.dump(createBean());

+        JavaBeanDumper dumper = new JavaBeanDumper();

+        String output = dumper.dump(createBean());

         // System.out.println(output);

         assertEquals(Util.getLocalResource("template/etalon1.yaml"), output);

     }

diff --git a/src/test/resources/template/etalon1.yaml b/src/test/resources/template/etalon1.yaml
index 600b537..b67b569 100644
--- a/src/test/resources/template/etalon1.yaml
+++ b/src/test/resources/template/etalon1.yaml
@@ -1,5 +1,9 @@
---- !!org.yaml.snakeyaml.emitter.template.MyBean

 empty: []

 id: id123

-list: [aaa, bbb, ccc]

-point: {x: 1.0, y: 2.0}
\ No newline at end of file
+list:

+- aaa

+- bbb

+- ccc

+point:

+  x: 1.0

+  y: 2.0
\ No newline at end of file