void () { ChangeSet cs1 = cs(new CreateFileChange(nextId(), "file")); ChangeSet cs2 = cs(new CreateDirectoryChange(nextId(), "dir")); assertTrue(cs1.isCreationalFor("file")); assertTrue(cs2.isCreationalFor("dir")); assertFalse(cs1.isCreationalFor("dir")); }