Manage Null Value In Dbunit Flat Xml

<dataset>
    <TABLE1 COL1="value" COL2="[NULL]"/>
    <TABLE1 COL1="[NULL]" COL2="value"/>
</dataset>    
    ReplacementDataSet replacementDataSet = new ReplacementDataSet(
     new FlatXmlDataSetBuilder().build(new File("dbSourceFileLocation")));
    );
    replacementDataSet.addReplacementObject("[NULL]", null);
    // continue usual datasource setup
Written on June 13, 2018
Licence Creative Commons
Ce(tte) œuvre est mise à disposition selon les termes de la Licence Creative Commons Attribution 4.0 International.