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