/**
  * renaming the directory to an invalid name throws a vfsStreamException
  *
  * @test
  * @expectedException  org\bovigo\vfs\vfsStreamException
  */
 public function renameToInvalidNameThrowsvfsStreamException()
 {
     $this->dir->rename('foo/baz');
 }