void () { VirtualFile file = tempDirectory.newVirtualFile("a/b/c/test.txt"); checkEvents(""" Before: VFileContentChangeEvent->test.txt VFilePropertyChangeEvent->test.txt VFilePropertyChangeEvent->test.txt After: VFileContentChangeEvent->test.txt VFilePropertyChangeEvent->test.txt VFilePropertyChangeEvent->test.txt """, new VFileContentChangeEvent(this, file, 0, 1), new VFilePropertyChangeEvent(this, file, VirtualFile.PROP_WRITABLE, false, true), new VFilePropertyChangeEvent(this, file, VirtualFile.PROP_ENCODING, ISO_8859_1, UTF_8)); }