@Test
public void endTask() {

	ByteArrayOutputStream stream = new ByteArrayOutputStream();
	StreamProgressMonitor monitor = new StreamProgressMonitor(
			new PrintStream(stream));
	monitor.beginTask("test task", 1);
	monitor.endTask();
	assertEquals("test task: 1 " + StreamProgressMonitor.DONE + SEPARATOR,
			stream.toString());
}