@@ -0,0 +1,1140 @@
+package at.jku.pervasive.ecg.wfdb;%0A%0Aimport java.io.File;%0Aimport java.net.URISyntaxException;%0Aimport java.util.List;%0A%0Apublic class Edf2MitOptionsTest extends PhysioToolkitTestCase %7B%0A%0A  public void test() throws URISyntaxException %7B%0A    File edfFile = getFile(%22/20120206171956.EDF%22);%0A    Edf2MitOptions options = new Edf2MitOptions(edfFile);%0A%0A    List%3CString%3E command = options.getCommand();%0A    System.out.println(command);%0A    assertNotNull(command);%0A    assertEquals(5, command.size());%0A    assertEquals(%22edf2mit%22, command.get(0));%0A%0A    // test if edf file is available and directly after -i option%0A    assertTrue(command.contains(%22-i%22));%0A    int iIndex = command.indexOf(%22-i%22);%0A    assertTrue(command.contains(edfFile.getName()));%0A    assertTrue(iIndex + 1 == command.indexOf(edfFile.getName()));%0A%0A    // test if output file is available and directly after -r option%0A    assertTrue(command.contains(%22-r%22));%0A    int rIndex = command.indexOf(%22-r%22);%0A    String outputName = options.getOutputName();%0A    assertNotNull(outputName);%0A    assertTrue(command.contains(outputName));%0A    assertTrue(rIndex + 1 == command.indexOf(outputName));%0A  %7D%0A%7D%0A

add tests for Edf2MitOptions