예제 #1
0
 public function testCustomDependencyClass()
 {
     Phactory::reset();
     Phactory::$dependencyClass = 'CustomDependency';
     $entry = Phactory::entry(array('budget' => Phactory::budget(array('amount' => null))));
     $this->assertNull($entry->budget_amount);
 }