made recommended changes

This commit is contained in:
egimaben 2016-05-17 14:07:45 +03:00
parent 3e3079e4c9
commit 61e7164703
3 changed files with 12 additions and 1 deletions

View File

@ -22,6 +22,13 @@
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<!--jackson for xml-->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.7.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>

View File

@ -15,7 +15,7 @@ import org.junit.Test;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
public class TestClass {
public class TestXMLSerializeDeserialize {
@Test
public void whenJavaSerializedToXmlStr_thenCorrect() throws JsonProcessingException{

View File

@ -0,0 +1,4 @@
<SimpleBean>
<x>1</x>
<y>2</y>
</SimpleBean>