@Test
public void testGetAll() {

	Mappings<Task, Resource> mappings = new Mappings<Task, Resource>();
	Task t = new Task("t");
	Resource r = new Resource("r");
	Mapping<Task, Resource> mapping = new Mapping<Task, Resource>("m", t, r);
	mappings.add(mapping);
	Assert.assertEquals(Collections.singleton(mapping), mappings.getAll());
}