verifyNoMoreInteractions(err);
}
@Test
public void applyOptions() throws IOException {
Exec exec = new Exec();
exec.addArguments(getArgs("-testCommand -option1 -option2 {} ;"));
exec.initialise(options);
assertEquals(Result.PASS, exec.apply(item));
verify(out).println("TestCommand.processOptions:-option1");
verify(out).println("TestCommand.processOptions:-option2");
verify(out).println("TestCommand.processPath:"+item.toString());
verifyNoMoreInteractions(out);
verifyNoMoreInteractions(err);