/**
  * @test
  */
 public function streamIsNotLockedByDefault()
 {
     file_put_contents(vfsStream::url('root/foo.txt'), 'content');
     $this->assertFalse($this->root->getChild('foo.txt')->isLocked());
 }
 /**
  * adds content to given container
  *
  * @param   vfsStreamContainer  $container
  * @return  vfsStreamContent
  */
 public function at(vfsStreamContainer $container)
 {
     $container->addChild($this);
     return $this;
 }