@Test public void testSuffixRenamingIsReversible() { Renaming r = Renaming.suffix("foo"); assertTrue(r.isReversible()); assertEquals(attr("sid"), r.reverse().apply(attr("sidfoo"))); }
@Test public void testItSupportsSuffixRenaming() { Renaming r = Renaming.suffix("foo"); assertEquals(r.apply(sid), attr("sidfoo")); }