public void testExample(String name) throws IOException {
List<String> example = loadExample(name);
initProgram();
provideExampleInput(example);
CapturingSystemOutStream capturingStream = new CapturingSystemOutStream(true);
runProgram();
String output = capturingStream.stopCapturing();
System.out.println(output);
testExampleOutput(example, output);
}