I have a node which behaves like ‘CSV Writer’. It accepts an input table and writes out a csv file based on some logic.
Now, I have a method ‘writeCSV(BufferedDataTable inputTable)’. I need to write a junit test with a sample BufferedInputTable and test/validate the written csv file.
How can I create a BufferedDataTable in my junit test?
First of all, is this something that could be best tested with a junit test or test workflow?