@Test
public void testGetFinalMapping() {

    Map<Integer, Integer> mapping1 = new TreeMap<Integer, Integer>();
    mapping1.put(1, 1);
    mapping1.put(2, 2);
    mapping1.put(3, 3);
    Map<Integer, Integer> mapping2 = new TreeMap<Integer, Integer>();
    mapping2.put(1, 2);
    mapping2.put(2, 1);
    mapping2.put(3, 3);
    List<Map<Integer, Integer>> mappings = new ArrayList<Map<Integer, Integer>>(2);
    mappings.add(mapping1);
    mappings.add(mapping2);
    FinalMappings instance = new FinalMappings();
    instance.set(mappings);
    List<Map<Integer, Integer>> expResult = mappings;
    List<Map<Integer, Integer>> result = instance.getFinalMapping();
    assertEquals(expResult, result);
}