public static function clearSequences() { self::$sequences = array(); }
public function testUseOptClassToHaveFactoryNameDifferentFromClassProduced() { Fixturenator::define('foo', array('username' => 1), array(FixturenatorDefinition::OPT_CLASS => TestObject)); $newObj = Fixturenator::create('foo'); $this->assertTrue($newObj instanceof TestObject); }