@Test
public void data_provider_gives_TXT_so_outputformat_txt() {

    /* prepare */
    ContentTransformerData data = new ContentTransformerData();
    data.filename="filename";
    data.origin="origin";
    transformerToTest.setDataProvider(new PlantUMLDataProvider() {
        
        @Override
        public PlantUMLOutputFormat getOutputFormat() {
            return PlantUMLOutputFormat.TXT;
        }
    });
    
    /* execute */
    String result = transformerToTest.transform(data);
    /* test */
    assertEquals("[plantuml,filename,txt]\n" + 
            "----\n" + 
            "origin\n" + 
            "----\n" + 
            "", result);
}