Iterator i=space.getProcesses().iterator();
ImageProcess p=(ImageProcess) i.next();
}
public void testProcessIteratorReturnsCurrentProcess() throws IOException {
ImageAddressSpace space=getFirstAddressSpace();
Iterator i=space.getProcesses().iterator();
ImageProcess p=(ImageProcess) i.next();
ImageProcess current=space.getCurrentProcess();
assertEquals("first image process is not current",current,p);
}