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