@Test
public void parseStringToObjectWithXmlSpec() {

     Variable variable = new Variable();
     variable.setId(20L);
     variable.setKey("Name");
     variable.setValue("valueName");
     String parse = xmlParser.parse(variable);
     assertNotNull(parse);
     assertEquals("<Variable><id>20</id><key>Name</key><value>valueName</value><environment/></Variable>", parse);
}