Ejemplo n.º 1
0
 /**
  * @test
  */
 public function updatePropertiesLeavesPropertiesUntouchedIfNotSetInNewProperties()
 {
     $fixture = new \TYPO3\CMS\Core\Resource\File(array('uid' => 1, 'foo' => 'asdf', 'identifier' => '/test'), $this->storageMock);
     $fixture->updateProperties(array('foo' => 'foobar'));
     $this->assertEquals('/test', $fixture->getIdentifier());
     $this->assertEquals('/test', $fixture->getProperty('identifier'));
 }