String[] x = { "G", "S", "P", "O" } ;
String[] y = { "O", "S", "P", "G" } ;
ColumnMap cmap = new ColumnMap("Test", x, y) ;
Tuple<String> tuple = Tuple.create(x) ;
Tuple<String> mapped = cmap.map(tuple) ;
Tuple<String> expected = Tuple.create(y) ;
assertEquals(expected, mapped) ;
Tuple<String> unmapped = cmap.unmap(mapped) ;
assertEquals(Tuple.create(x), unmapped) ;