ConflictMatrix matrix = new ConflictMatrix(slotsPerWeek, slotsPerDay);
Map<Resource, Set<Assignment>> resources = newResources(Arrays.asList(a, b), Arrays.asList(a, c));
matrix.initFromResources(resources);
Location loc1 = new Location(10);
Location loc2 = new Location(5);
List locations = Arrays.asList(loc1, loc2);
periode = newPeriod(slotsPerWeek, locations, matrix);
assertTrue(periode.add(b, 0));