@Test
public void testXmlFormatter() {

    DataSet dataSet = newSample();
    Formatters.Formatter<DataSet> formatter = DataSet.xmlFormatter(false);
    Assert.assertNotNull(formatter.format(dataSet));
    //System.err.println(DataSet.xmlFormatter(false).format(dataSet));
    DataSet d1 = new DataSet(id, DataSet.Kind.COLLECTION, content);
    DataSet d2 = new DataSet(id, DataSet.Kind.COLLECTION, content);
    Assert.assertEquals(formatter.format(d1), formatter.format(d2));
}