void () { add(myVcs, createFile(myRoot, "f", "one")); LabelImpl l1 = myVcs.putSystemLabel("label", "project", -1); add(myVcs, changeContent(myRoot, "f", "two")); LabelImpl l2 = myVcs.putSystemLabel("label", "project", -1); add(myVcs, rename(myRoot, "f", "f_r")); LabelImpl l3 = myVcs.putSystemLabel("label", "project", -1); assertEquals("one", new String(l1.getByteContent(myRoot, "f_r").getBytes(), StandardCharsets.UTF_8)); assertEquals("two", new String(l2.getByteContent(myRoot, "f_r").getBytes(), StandardCharsets.UTF_8)); assertEquals("two", new String(l3.getByteContent(myRoot, "f_r").getBytes(), StandardCharsets.UTF_8)); }