public void testListDeletePrograms() throws Exception {
KiWiReasoningConnection connection = rpersistence.getConnection();
try {
List<Program> programs = new ArrayList<Program>();
for(String name : new String[] {"test-001", "test-002", "test-003", "test-004"}) {
KWRLProgramParserBase parser = new KWRLProgramParser(repository.getValueFactory(), this.getClass().getResourceAsStream(name+".kwrl"));
Program p = parser.parseProgram();
p.setName(name);
connection.storeProgram(p);
connection.commit();
programs.add(p);