public function setUp()
 {
     parent::setUp();
     // Set backend and base url
     AssetStoreTest_SpyStore::activate('AssetControlExtensionTest');
     // Setup fixture manually
     $object1 = new AssetControlExtensionTest_VersionedObject();
     $object1->Title = 'My object';
     $fish1 = realpath(__DIR__ . '/../model/testimages/test-image-high-quality.jpg');
     $object1->Header->setFromLocalFile($fish1, 'Header/MyObjectHeader.jpg');
     $object1->Download->setFromString('file content', 'Documents/File.txt');
     $object1->write();
     $object1->publish('Stage', 'Live');
     $object2 = new AssetControlExtensionTest_Object();
     $object2->Title = 'Unversioned';
     $object2->Image->setFromLocalFile($fish1, 'Images/BeautifulFish.jpg');
     $object2->write();
     $object3 = new AssetControlExtensionTest_ArchivedObject();
     $object3->Title = 'Archived';
     $object3->Header->setFromLocalFile($fish1, 'Archived/MyObjectHeader.jpg');
     $object3->write();
     $object3->publish('Stage', 'Live');
 }