in changes-patch-builder-test/src/jetbrains/buildServer/vcs/patches/ChangesPatchBuilderTest.java [92:102]
public void testSimple6() throws Exception {
checkPatch(new VcsChange[] {
new VcsChange(VcsChangeInfo.Type.DIRECTORY_ADDED, null, "foo", "foo", "0", "1"),
new VcsChange(VcsChangeInfo.Type.ADDED, null, "foo/bar", "foo/bar", "1", "2"),
new VcsChange(VcsChangeInfo.Type.REMOVED, null, "foobar", "foobar", "2", "3")
}, new String[] {
"DELETE foobar",
"CREATE_DIR foo",
"CREATE foo/bar 2"
});
}