* @see NetTaskGroup#indexOf
*/
public void testIndexOf()
{
NetTaskGroup group = new NetTaskGroup("A");
URLInputStream stream = new URLInputStream(getTestURL());
NetTask task = new NetTask("A", "B", stream);
group.addTask(task);
assertEquals(-1, group.indexOf(new NetTask("A", "B", new URLInputStream(getTestURL()))));
assertEquals(0, group.indexOf(task));
}