예제 #1
0
 public static function clearSequences()
 {
     self::$sequences = array();
 }
예제 #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);
 }