@Test
public void filterCommunications() {

	Set<Task> tasks = new HashSet<Task>();
	Communication c = new Communication("c");
	Task task = new Task("t");
	tasks.add(task);
	tasks.add(c);
	boolean visited = false;
	for (Task t : Models.filterCommunications(tasks)) {
		Assert.assertFalse(visited);
		Assert.assertEquals(c, t);
		Assert.assertNotEquals(task, t);
		visited = true;
	}
	Assert.assertTrue(visited);
}