public function findOne()
 {
     $archive = FooArchiveCollection::getArchiveSingleton();
     $archive->setId($this->pk);
     return $archive;
 }
 public function testArchiveUsesArchiveClassIfSpecified()
 {
     $a = new \ArchivableTest40();
     $a->setTitle('foo');
     $a->setAge(12);
     $a->save();
     $a->archive();
     $archive = FooArchiveCollection::getArchiveSingleton();
     $this->assertEquals($a->getId(), $archive->id);
     $this->assertEquals('foo', $archive->title);
     $this->assertEquals(12, $archive->age);
 }