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